crypto/bn/bntest.c:1403: 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:1382:1: Parameter `ctx->stack.depth`
1380.   	}
1381.   
1382. > int test_gf2m_mod_inv(BIO *bp,BN_CTX *ctx)
1383.   	{
1384.   	BIGNUM *a,*b[2],*c,*d;

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

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

crypto/bn/bn_gf2m.c:534:2: Call
  532.   	bn_check_top(p);
  533.   
  534.   	BN_CTX_start(ctx);
          ^
  535.   	
  536.   	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:652:4: Call
  650.           bn_correct_top(v);
  651.   #endif
  652.     	BN_CTX_end(ctx);
            ^
  653.   	return ret;
  654.   	}

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.   
