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


crypto/bn/bntest.c:1015:1: Parameter `ctx->stack.depth`
1013.   	}
1014.   
1015. > int test_exp(BIO *bp, BN_CTX *ctx)
1016.   	{
1017.   	BIGNUM *a,*b,*d,*e,*one;

crypto/bn/bntest.c:1032:8: Call
1030.   		BN_bntest_rand(b,2+i,0,0); /**/
1031.   
1032.   		if (!BN_exp(d,a,b,ctx))
               ^
1033.   			return(0);
1034.   

crypto/bn/bn_exp.c:120:1: Parameter `ctx->stack.depth`
  118.   
  119.   /* this one works - simple but works */
  120. > int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
  121.   	{
  122.   	int i,bits,ret=0;

crypto/bn/bntest.c:1049:7: Call
1047.   		BN_one(e);
1048.   		for( ; !BN_is_zero(b) ; BN_sub(b,b,one))
1049.   		    BN_mul(e,e,a,ctx);
              ^
1050.   		BN_sub(e,e,d);
1051.   		if(!BN_is_zero(e))

crypto/bn/bn_mul.c:946:1: Parameter `ctx->stack.depth`
  944.   #endif /* BN_RECURSION */
  945.   
  946. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
  947.   	{
  948.   	int ret=0;

crypto/bn/bn_mul.c:977:2: Call
  975.   	top=al+bl;
  976.   
  977.   	BN_CTX_start(ctx);
          ^
  978.   	if ((r == a) || (r == b))
  979.   		{

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

crypto/bn/bn_mul.c:1103:2: Call
  1101.   err:
  1102.   	bn_check_top(r);
  1103.   	BN_CTX_end(ctx);
           ^
  1104.   	return(ret);
  1105.   	}

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, +oo] - 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.   
