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

crypto/bn/bn_mod.c:98:5: Call
  96.       ret = 1;
  97.    err:
  98.       BN_CTX_end(ctx);
             ^
  99.       return (ret);
  100.   }

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

crypto/bn/bn_mod.c:73:1: Parameter `ctx->pool.used`
  71.   
  72.   /* slow but works */
  73. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
  74.                  BN_CTX *ctx)
  75.   {

crypto/bn/bn_mod.c:84:14: Call
  82.   
  83.       BN_CTX_start(ctx);
  84.       if ((t = BN_CTX_get(ctx)) == NULL)
                     ^
  85.           goto err;
  86.       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:90:14: Call
  88.               goto err;
  89.       } else {
  90.           if (!BN_mul(t, a, b, ctx))
                     ^
  91.               goto err;
  92.       }

crypto/bn/bn_mul.c:829:1: Parameter `ctx->pool.used`
    827.   #endif                          /* BN_RECURSION */
    828.   
    829. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    830.   {
    831.       int ret = 0;

crypto/bn/bn_mul.c:979:5: Call
    977.    err:
    978.       bn_check_top(r);
    979.       BN_CTX_end(ctx);
               ^
    980.       return (ret);
    981.   }

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_mod_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;
