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


crypto/bn/bntest.c:1305:1: Parameter `ctx->stack.depth`
1303.   	}
1304.   
1305. > int test_gf2m_mod_inv(BIO *bp,BN_CTX *ctx)
1306.   	{
1307.   	BIGNUM *a,*b[2],*c,*d;

crypto/bn/bntest.c:1326:4: Call
1324.   		for (j=0; j < 2; j++)
1325.   			{
1326.   			BN_GF2m_mod_inv(c, a, b[j], ctx);
           ^
1327.   			BN_GF2m_mod_mul(d, a, c, b[j], ctx);
1328.   #if 0 /* make test uses ouput in bc but bc can't handle GF(2^m) arithmetic */

crypto/bn/bn_gf2m.c:525:1: Parameter `ctx->stack.depth`
  523.    *     of Elliptic Curve Cryptography Over Binary Fields".
  524.    */
  525. > int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
  526.   	{
  527.   	BIGNUM *b, *c, *u, *v, *tmp;

crypto/bn/bn_gf2m.c:533:2: Call
  531.   	bn_check_top(p);
  532.   
  533.   	BN_CTX_start(ctx);
          ^
  534.   	
  535.   	if ((b = BN_CTX_get(ctx))==NULL) goto err;

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_gf2m.c:645:4: Call
  643.   
  644.   err:
  645.     	BN_CTX_end(ctx);
            ^
  646.   	return ret;
  647.   	}

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