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


crypto/bn/bntest.c:690:1: Parameter `ctx->stack.depth`
688.   	}
689.   
690. > int test_sqr(BIO *bp, BN_CTX *ctx)
691.   	{
692.   	BIGNUM *a,*c,*d,*e;

crypto/bn/bntest.c:708:3: Call
706.   		BN_bntest_rand(a,40+i*10,0,0);
707.   		a->neg=rand_neg();
708.   		BN_sqr(c,a,ctx);
         ^
709.   		if (bp != NULL)
710.   			{

crypto/bn/bn_sqr.c:64:1: Parameter `ctx->stack.depth`
  62.   /* r must not be a */
  63.   /* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */
  64. > int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
  65.   	{
  66.   	int max,al;

crypto/bn/bn_sqr.c:80:2: Call
  78.   		}
  79.   
  80.   	BN_CTX_start(ctx);
         ^
  81.   	rr=(a != r) ? r : BN_CTX_get(ctx);
  82.   	tmp=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_sqr.c:150:2: Call
  148.   	bn_check_top(rr);
  149.   	bn_check_top(tmp);
  150.   	BN_CTX_end(ctx);
          ^
  151.   	return(ret);
  152.   	}

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