crypto/bn/bn_blind.c:193: 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:192:8: Call
190.   	else if (!(b->flags & BN_BLINDING_NO_UPDATE))
191.   		{
192.   		if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err;
              ^
193.   		if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err;
194.   		}

crypto/bn/bn_mod.c:198:2: Call
  196.   	ret=1;
  197.   err:
  198.   	BN_CTX_end(ctx);
          ^
  199.   	return(ret);
  200.   	}

crypto/bn/bn_ctx.c:270:1: Parameter `ctx->pool.used`
    268.   	}
    269.   
    270. > void BN_CTX_end(BN_CTX *ctx)
    271.   	{
    272.   	CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_blind.c:193:8: Call
191.   		{
192.   		if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err;
193.   		if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err;
              ^
194.   		}
195.   

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

crypto/bn/bn_mod.c:189:11: Call
  187.   
  188.   	BN_CTX_start(ctx);
  189.   	if ((t = BN_CTX_get(ctx)) == NULL) goto err;
                   ^
  190.   	if (a == b)
  191.   		{ if (!BN_sqr(t,a,ctx)) goto err; }

crypto/bn/bn_ctx.c:288:1: Parameter `ctx->pool.used`
    286.   	}
    287.   
    288. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    289.   	{
    290.   	BIGNUM *ret;

crypto/bn/bn_mod.c:193:10: Call
  191.   		{ if (!BN_sqr(t,a,ctx)) goto err; }
  192.   	else
  193.   		{ if (!BN_mul(t,a,b,ctx)) goto err; }
                  ^
  194.   	if (!BN_nnmod(r,t,m,ctx)) goto err;
  195.   	bn_check_top(r);

crypto/bn/bn_mul.c:941:1: Parameter `ctx->pool.used`
    939.   #endif /* BN_RECURSION */
    940.   
    941. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    942.   	{
    943.   	int ret=0;

crypto/bn/bn_mul.c:1098:2: Call
    1096.   err:
    1097.   	bn_check_top(r);
    1098.   	BN_CTX_end(ctx);
             ^
    1099.   	return(ret);
    1100.   	}

crypto/bn/bn_ctx.c:270:1: Parameter `ctx->pool.used`
      268.   	}
      269.   
      270. > void BN_CTX_end(BN_CTX *ctx)
      271.   	{
      272.   	CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:280:4: Call
      278.   		/* Does this stack frame have anything to release? */
      279.   		if(fp < ctx->used)
      280.   			BN_POOL_release(&ctx->pool, ctx->used - fp);
                ^
      281.   		ctx->used = fp;
      282.   		/* Unjam "too_many" in case "get" had failed */

crypto/bn/bn_ctx.c:438:1: <LHS trace>
436.   	}
437.   
438. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
439.   	{
440.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:438:1: Parameter `p->used`
        436.   	}
        437.   
        438. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
        439.   	{
        440.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:440:2: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_mod_mul` 
        438.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
        439.   	{
        440.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
                ^
        441.   	p->used -= num;
        442.   	while(num--)
