crypto/bn/bn_recp.c:133: 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:120:23: Call
118.       /* Nr := round(2^i / N) */
119.       if (i != recp->shift)
120.           recp->shift = BN_reciprocal(&(recp->Nr), &(recp->N), i, ctx);
                             ^
121.       /* BN_reciprocal could have returned -1 for an error */
122.       if (recp->shift == -1)

crypto/bn/bn_recp.c:191:5: Call
  189.    err:
  190.       bn_check_top(r);
  191.       BN_CTX_end(ctx);
             ^
  192.       return ret;
  193.   }

crypto/bn/bn_ctx.c:195:1: Parameter `ctx->pool.used`
    193.   }
    194.   
    195. > void BN_CTX_end(BN_CTX *ctx)
    196.   {
    197.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_recp.c:133:10: Call
131.       if (!BN_rshift(a, m, recp->num_bits))
132.           goto err;
133.       if (!BN_mul(b, a, &(recp->Nr), ctx))
                ^
134.           goto err;
135.       if (!BN_rshift(d, b, i - recp->num_bits))

crypto/bn/bn_mul.c:497:1: Parameter `ctx->pool.used`
  495.   #endif                          /* BN_RECURSION */
  496.   
  497. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
  498.   {
  499.       int ret = 0;

crypto/bn/bn_mul.c:608:5: Call
  606.    err:
  607.       bn_check_top(r);
  608.       BN_CTX_end(ctx);
             ^
  609.       return ret;
  610.   }

crypto/bn/bn_ctx.c:195:1: Parameter `ctx->pool.used`
    193.   }
    194.   
    195. > void BN_CTX_end(BN_CTX *ctx)
    196.   {
    197.       CTXDBG_ENTRY("BN_CTX_end", ctx);

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

crypto/bn/bn_ctx.c:340:1: <LHS trace>
338.   }
339.   
340. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
341.   {
342.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:340:1: Parameter `p->used`
      338.   }
      339.   
      340. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
      341.   {
      342.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

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