crypto/bn/bntest.c:493: 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:466:1: Parameter `ctx->stack.depth`
464.   	}
465.   
466. > int test_div_recp(BIO *bp, BN_CTX *ctx)
467.   	{
468.   	BIGNUM a,b,c,d,e;

crypto/bn/bntest.c:493:3: Call
491.   		b.neg=rand_neg();
492.   		BN_RECP_CTX_set(&recp,&b,ctx);
493.   		BN_div_recp(&d,&c,&a,&recp,ctx);
         ^
494.   		if (bp != NULL)
495.   			{

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

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