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


crypto/bn/bntest.c:660:3: Call
658.   		a->neg=rand_neg();
659.   		b->neg=rand_neg();
660.   		BN_mul(c,a,b,ctx);
         ^
661.   		if (bp != NULL)
662.   			{

crypto/bn/bn_mul.c:909:1: Parameter `ctx->stack.depth`
  907.   #endif /* BN_RECURSION */
  908.   
  909. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
  910.   	{
  911.   	int ret=0;

crypto/bn/bntest.c:673:3: Call
671.   			BIO_puts(bp,"\n");
672.   			}
673.   		BN_div(d,e,c,a,ctx);
         ^
674.   		BN_sub(d,d,b);
675.   		if(!BN_is_zero(d) || !BN_is_zero(e))

crypto/bn/bn_div.c:183:1: Parameter `ctx->stack.depth`
  181.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
  182.    */
  183. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
  184.   	   BN_CTX *ctx)
  185.   	{

crypto/bn/bntest.c:660:3: Call
658.   		a->neg=rand_neg();
659.   		b->neg=rand_neg();
660.   		BN_mul(c,a,b,ctx);
         ^
661.   		if (bp != NULL)
662.   			{

crypto/bn/bn_mul.c:909:1: Parameter `ctx->stack.depth`
  907.   #endif /* BN_RECURSION */
  908.   
  909. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
  910.   	{
  911.   	int ret=0;

crypto/bn/bn_mul.c:936:2: Call
  934.   	top=al+bl;
  935.   
  936.   	BN_CTX_start(ctx);
          ^
  937.   	if ((r == a) || (r == b))
  938.   		{

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

crypto/bn/bn_mul.c:1062:2: Call
  1060.   err:
  1061.   	bn_check_top(r);
  1062.   	BN_CTX_end(ctx);
           ^
  1063.   	return(ret);
  1064.   	}

crypto/bn/bn_ctx.c:272:1: Parameter `ctx->stack.depth`
    270.   	}
    271.   
    272. > void BN_CTX_end(BN_CTX *ctx)
    273.   	{
    274.   	CTXDBG_ENTRY("BN_CTX_end", ctx);

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

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

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

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