crypto/bn/bn_recp.c:180: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_mul`.
Showing all 11 steps of the trace


crypto/bn/bn_recp.c:170:15: Call
168.   	/* Nr := round(2^i / N) */
169.   	if (i != recp->shift)
170.   		recp->shift=BN_reciprocal(&(recp->Nr),&(recp->N),
                     ^
171.   			i,ctx); /* BN_reciprocal returns i, or -1 for an error */
172.   	if (recp->shift == -1) goto err;

crypto/bn/bn_recp.c:232:2: Call
  230.   err:
  231.   	bn_check_top(r);
  232.   	BN_CTX_end(ctx);
          ^
  233.   	return(ret);
  234.   	}

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_recp.c:180:7: Call
178.   	 */
179.   	if (!BN_rshift(a,m,recp->num_bits)) goto err;
180.   	if (!BN_mul(b,a,&(recp->Nr),ctx)) goto err;
             ^
181.   	if (!BN_rshift(d,b,i-recp->num_bits)) goto err;
182.   	d->neg=0;

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_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--)
