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


crypto/bn/bntest.c:561:1: Parameter `ctx->stack.depth`
559.   	}
560.   
561. > int test_div_recp(BIO *bp, BN_CTX *ctx)
562.   	{
563.   	BIGNUM *a,*b,*c,*d,*e;

crypto/bn/bntest.c:588:3: Call
586.   		b->neg=rand_neg();
587.   		BN_RECP_CTX_set(recp,b,ctx);
588.   		BN_div_recp(d,c,a,recp,ctx);
         ^
589.   		if (bp != NULL)
590.   			{

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

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

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_recp.c:154:3: Call
  152.   		BN_zero(d);
  153.   		if (!BN_copy(r,m)) return 0;
  154.   		BN_CTX_end(ctx);
           ^
  155.   		return(1);
  156.   		}

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_div_recp` 
      353.   static unsigned int BN_STACK_pop(BN_STACK *st)
      354.   	{
      355.   	return st->indexes[--(st->depth)];
                     ^
      356.   	}
      357.   
