crypto/bn/bntest.c:1067: 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:1040:1: Parameter `ctx->stack.depth`
1038.   	}
1039.   
1040. > int test_gf2m_mod_mul(BIO *bp,BN_CTX *ctx)
1041.   	{
1042.   	BIGNUM *a,*b[2],*c,*d,*e,*f,*g,*h;

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

crypto/bn/bn_gf2m.c:495:1: Parameter `ctx->stack.depth`
  493.    * BN_GF2m_mod_mul_arr function.
  494.    */
  495. > int	BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx)
  496.   	{
  497.   	int ret = 0;

crypto/bn/bn_gf2m.c:510:8: Call
  508.   		goto err;
  509.   		}
  510.   	ret = BN_GF2m_mod_mul_arr(r, a, b, arr, ctx);
                ^
  511.   	bn_check_top(r);
  512.   err:

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

crypto/bn/bn_gf2m.c:456:2: Call
    454.   		}
    455.   
    456.   	BN_CTX_start(ctx);
            ^
    457.   	if ((s = BN_CTX_get(ctx)) == NULL) goto err;
    458.   	

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:484:2: Call
    482.   
    483.   err:
    484.   	BN_CTX_end(ctx);
            ^
    485.   	return ret;
    486.   	}

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.   
