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


crypto/bn/bntest.c:1175:1: Parameter `ctx->stack.depth`
1173.   	}
1174.   
1175. > int test_gf2m_mod_mul(BIO *bp,BN_CTX *ctx)
1176.   	{
1177.   	BIGNUM *a,*b[2],*c,*d,*e,*f,*g,*h;

crypto/bn/bntest.c:1202:4: Call
1200.   		for (j=0; j < 2; j++)
1201.   			{
1202.   			BN_GF2m_mod_mul(e, a, c, b[j], ctx);
           ^
1203.   #if 0 /* make test uses ouput in bc but bc can't handle GF(2^m) arithmetic */
1204.   			if (bp != NULL)

crypto/bn/bn_gf2m.c:433:1: Parameter `ctx->stack.depth`
  431.    * BN_GF2m_mod_mul_arr function.
  432.    */
  433. > int	BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx)
  434.   	{
  435.   	int ret = 0;

crypto/bn/bn_gf2m.c:448:8: Call
  446.   		goto err;
  447.   		}
  448.   	ret = BN_GF2m_mod_mul_arr(r, a, b, arr, ctx);
                ^
  449.   	bn_check_top(r);
  450.   err:

crypto/bn/bn_gf2m.c:380:1: Parameter `ctx->stack.depth`
    378.    * the result in r.  r could be a or b; a could be b.
    379.    */
    380. > int	BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const int p[], BN_CTX *ctx)
    381.   	{
    382.   	int zlen, i, j, k, ret = 0;

crypto/bn/bn_gf2m.c:394:2: Call
    392.   		}
    393.   
    394.   	BN_CTX_start(ctx);
            ^
    395.   	if ((s = BN_CTX_get(ctx)) == NULL) goto err;
    396.   	

crypto/bn/bn_ctx.c:255:1: Parameter `ctx->stack.depth`
      253.   	}
      254.   
      255. > void BN_CTX_start(BN_CTX *ctx)
      256.   	{
      257.   	CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_gf2m.c:422:2: Call
    420.   
    421.   err:
    422.   	BN_CTX_end(ctx);
            ^
    423.   	return ret;
    424.   	}

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