crypto/bn/bntest.c:1191: 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:1170:1: Parameter `ctx->stack.depth`
1168.   	}
1169.   
1170. > int test_gf2m_mod_inv(BIO *bp,BN_CTX *ctx)
1171.   	{
1172.   	BIGNUM *a,*b[2],*c,*d;

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

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

crypto/bn/bn_gf2m.c:587:2: Call
  585.   	bn_check_top(p);
  586.   
  587.   	BN_CTX_start(ctx);
          ^
  588.   	
  589.   	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_gf2m.c:631:4: Call
  629.   
  630.   err:
  631.     	BN_CTX_end(ctx);
            ^
  632.   	return ret;
  633.   	}

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