crypto/bn/bn_recp.c:186: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_mul`.
Showing all 11 steps of the trace


crypto/bn/bn_recp.c:173:23: Call
171.       /* Nr := round(2^i / N) */
172.       if (i != recp->shift)
173.           recp->shift = BN_reciprocal(&(recp->Nr), &(recp->N), i, ctx);
                             ^
174.       /* BN_reciprocal could have returned -1 for an error */
175.       if (recp->shift == -1)

crypto/bn/bn_recp.c:246:5: Call
  244.    err:
  245.       bn_check_top(r);
  246.       BN_CTX_end(ctx);
             ^
  247.       return (ret);
  248.   }

crypto/bn/bn_ctx.c:267:1: Parameter `ctx->pool.used`
    265.   }
    266.   
    267. > void BN_CTX_end(BN_CTX *ctx)
    268.   {
    269.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_recp.c:186:10: Call
184.       if (!BN_rshift(a, m, recp->num_bits))
185.           goto err;
186.       if (!BN_mul(b, a, &(recp->Nr), ctx))
                ^
187.           goto err;
188.       if (!BN_rshift(d, b, i - recp->num_bits))

crypto/bn/bn_mul.c:883:1: Parameter `ctx->pool.used`
  881.   #endif                          /* BN_RECURSION */
  882.   
  883. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
  884.   {
  885.       int ret = 0;

crypto/bn/bn_mul.c:1033:5: Call
  1031.    err:
  1032.       bn_check_top(r);
  1033.       BN_CTX_end(ctx);
              ^
  1034.       return (ret);
  1035.   }

crypto/bn/bn_ctx.c:267:1: Parameter `ctx->pool.used`
    265.   }
    266.   
    267. > void BN_CTX_end(BN_CTX *ctx)
    268.   {
    269.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:276:13: Call
    274.           /* Does this stack frame have anything to release? */
    275.           if (fp < ctx->used)
    276.               BN_POOL_release(&ctx->pool, ctx->used - fp);
                       ^
    277.           ctx->used = fp;
    278.           /* Unjam "too_many" in case "get" had failed */

crypto/bn/bn_ctx.c:435:1: <LHS trace>
433.   }
434.   
435. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
436.   {
437.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:435:1: Parameter `p->used`
      433.   }
      434.   
      435. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
      436.   {
      437.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:437:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_mul` 
      435.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
      436.   {
      437.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
                 ^
      438.       p->used -= num;
      439.       while (num--) {
