crypto/bn/bn_blind.c:113: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_mod_mul`.
Showing all 15 steps of the trace


crypto/bn/bn_blind.c:111:14: Call
109.               goto err;
110.       } else if (!(b->flags & BN_BLINDING_NO_UPDATE)) {
111.           if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
                    ^
112.               goto err;
113.           if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))

crypto/bn/bn_mod.c:152:5: Call
  150.       ret = 1;
  151.    err:
  152.       BN_CTX_end(ctx);
             ^
  153.       return ret;
  154.   }

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_blind.c:113:14: Call
111.           if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
112.               goto err;
113.           if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))
                    ^
114.               goto err;
115.       }

crypto/bn/bn_mod.c:127:1: Parameter `ctx->pool.used`
  125.   
  126.   /* slow but works */
  127. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
  128.                  BN_CTX *ctx)
  129.   {

crypto/bn/bn_mod.c:138:14: Call
  136.   
  137.       BN_CTX_start(ctx);
  138.       if ((t = BN_CTX_get(ctx)) == NULL)
                      ^
  139.           goto err;
  140.       if (a == b) {

crypto/bn/bn_ctx.c:212:1: Parameter `ctx->pool.used`
    210.   }
    211.   
    212. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    213.   {
    214.       BIGNUM *ret;

crypto/bn/bn_mod.c:144:14: Call
  142.               goto err;
  143.       } else {
  144.           if (!BN_mul(t, a, b, ctx))
                      ^
  145.               goto err;
  146.       }

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:346:1: <LHS trace>
344.   }
345.   
346. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
347.   {
348.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:346:1: Parameter `p->used`
        344.   }
        345.   
        346. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
        347.   {
        348.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:348:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_mod_mul` 
        346.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
        347.   {
        348.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
                   ^
        349.   
        350.       p->used -= num;
