crypto/bn/bn_blind.c:205: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_mod_mul`.
Showing all 17 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:250:1: Parameter `ctx->pool.used`
    248.   }
    249.   
    250. > void BN_CTX_end(BN_CTX *ctx)
    251.   {
    252.       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:267:1: Parameter `ctx->pool.used`
    265.   }
    266.   
    267. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    268.   {
    269.       BIGNUM *ret;

crypto/bn/bn_mod.c:193:14: Call
  191.           goto err;
  192.       if (a == b) {
  193.           if (!BN_sqr(t, a, ctx))
                      ^
  194.               goto err;
  195.       } else {

crypto/bn/bn_sqr.c:66:1: Parameter `ctx->pool.used`
    64.    * I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96
    65.    */
    66. > int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
    67.   {
    68.       int max, al;

crypto/bn/bn_sqr.c:83:11: Call
    81.       BN_CTX_start(ctx);
    82.       rr = (a != r) ? r : BN_CTX_get(ctx);
    83.       tmp = BN_CTX_get(ctx);
                    ^
    84.       if (!rr || !tmp)
    85.           goto err;

crypto/bn/bn_ctx.c:267:1: Parameter `ctx->pool.used`
      265.   }
      266.   
      267. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
      268.   {
      269.       BIGNUM *ret;

crypto/bn/bn_sqr.c:148:5: Call
    146.       bn_check_top(rr);
    147.       bn_check_top(tmp);
    148.       BN_CTX_end(ctx);
               ^
    149.       return (ret);
    150.   }

crypto/bn/bn_ctx.c:250:1: Parameter `ctx->pool.used`
      248.   }
      249.   
      250. > void BN_CTX_end(BN_CTX *ctx)
      251.   {
      252.       CTXDBG_ENTRY("BN_CTX_end", ctx);

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

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

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

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