crypto/bn/bn_blind.c:205: 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:203:14: Call
201.               goto err;
202.       } else if (!(b->flags & BN_BLINDING_NO_UPDATE)) {
203.           if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
                    ^
204.               goto err;
205.           if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))

crypto/bn/bn_mod.c:204:5: Call
  202.       ret = 1;
  203.    err:
  204.       BN_CTX_end(ctx);
             ^
  205.       return (ret);
  206.   }

crypto/bn/bn_ctx.c:254:1: Parameter `ctx->pool.used`
    252.   }
    253.   
    254. > void BN_CTX_end(BN_CTX *ctx)
    255.   {
    256.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_blind.c:205:14: Call
203.           if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
204.               goto err;
205.           if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))
                    ^
206.               goto err;
207.       }

crypto/bn/bn_mod.c:179:1: Parameter `ctx->pool.used`
  177.   
  178.   /* slow but works */
  179. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
  180.                  BN_CTX *ctx)
  181.   {

crypto/bn/bn_mod.c:190:14: Call
  188.   
  189.       BN_CTX_start(ctx);
  190.       if ((t = BN_CTX_get(ctx)) == NULL)
                      ^
  191.           goto err;
  192.       if (a == b) {

crypto/bn/bn_ctx.c:271:1: Parameter `ctx->pool.used`
    269.   }
    270.   
    271. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    272.   {
    273.       BIGNUM *ret;

crypto/bn/bn_mod.c:196:14: Call
  194.               goto err;
  195.       } else {
  196.           if (!BN_mul(t, a, b, ctx))
                      ^
  197.               goto err;
  198.       }

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:254:1: Parameter `ctx->pool.used`
      252.   }
      253.   
      254. > void BN_CTX_end(BN_CTX *ctx)
      255.   {
      256.       CTXDBG_ENTRY("BN_CTX_end", ctx);

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

crypto/bn/bn_ctx.c:399:1: <LHS trace>
397.   }
398.   
399. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
400.   {
401.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:399:1: Parameter `p->used`
        397.   }
        398.   
        399. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
        400.   {
        401.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

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