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


crypto/bn/bntest.c:897:8: Call
895.   		BN_bntest_rand(b,2+i,0,0); /**/
896.   
897.   		if (!BN_exp(d,a,b,ctx))
              ^
898.   			return(00);
899.   

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

crypto/bn/bn_exp.c:124:2: Call
  122.   	BIGNUM *v,*rr;
  123.   
  124.   	BN_CTX_start(ctx);
          ^
  125.   	if ((r == a) || (r == p))
  126.   		rr = 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_exp.c:149:2: Call
  147.   err:
  148.   	if (r != rr) BN_copy(r,rr);
  149.   	BN_CTX_end(ctx);
          ^
  150.   	bn_check_top(r);
  151.   	return(ret);

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/bntest.c:914:7: Call
912.   		BN_one(e);
913.   		for( ; !BN_is_zero(b) ; BN_sub(b,b,one))
914.   		    BN_mul(e,e,a,ctx);
             ^
915.   		BN_sub(e,e,d);
916.   		if(!BN_is_zero(e))

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