crypto/bn/bn_recp.c:184: error: INTEGER_OVERFLOW_L2
  ([0, 4+max(0, `ctx->stack.depth`)] - 1):unsigned32 by call to `BN_mul`.
Showing all 15 steps of the trace


crypto/bn/bn_recp.c:130:1: Parameter `ctx->stack.depth`
128.   	}
129.   
130. > int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
131.   	BN_RECP_CTX *recp, BN_CTX *ctx)
132.   	{

crypto/bn/bn_recp.c:136:2: Call
134.   	BIGNUM *a,*b,*d,*r;
135.   
136.   	BN_CTX_start(ctx);
        ^
137.   	a=BN_CTX_get(ctx);
138.   	b=BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:254:1: Parameter `ctx->stack.depth`
  252.   	}
  253.   
  254. > void BN_CTX_start(BN_CTX *ctx)
  255.   	{
  256.   	CTXDBG_ENTRY("BN_CTX_start", 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->stack.depth`
  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_recp.c:184:7: Call
182.   	d->neg=0;
183.   
184.   	if (!BN_mul(b,&(recp->N),d,ctx)) goto err;
             ^
185.   	if (!BN_usub(r,m,b)) goto err;
186.   	r->neg=0;

crypto/bn/bn_mul.c:941:1: Parameter `ctx->stack.depth`
  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:972:2: Call
  970.   	top=al+bl;
  971.   
  972.   	BN_CTX_start(ctx);
          ^
  973.   	if ((r == a) || (r == b))
  974.   		{

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

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->stack.depth`
    268.   	}
    269.   
    270. > void BN_CTX_end(BN_CTX *ctx)
    271.   	{
    272.   	CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:277:21: Call
    275.   	else
    276.   		{
    277.   		unsigned int fp = BN_STACK_pop(&ctx->stack);
                               ^
    278.   		/* Does this stack frame have anything to release? */
    279.   		if(fp < ctx->used)

crypto/bn/bn_ctx.c:351:1: <LHS trace>
349.   	}
350.   
351. > static unsigned int BN_STACK_pop(BN_STACK *st)
352.   	{
353.   	return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:351:1: Parameter `st->depth`
      349.   	}
      350.   
      351. > static unsigned int BN_STACK_pop(BN_STACK *st)
      352.   	{
      353.   	return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:353:9: Binary operation: ([0, 4+max(0, ctx->stack.depth)] - 1):unsigned32 by call to `BN_mul` 
      351.   static unsigned int BN_STACK_pop(BN_STACK *st)
      352.   	{
      353.   	return st->indexes[--(st->depth)];
                     ^
      354.   	}
      355.   
