crypto/bn/bn_gf2m.c:821: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_CTX_end`.
Showing all 9 steps of the trace


crypto/bn/bn_gf2m.c:799:1: Parameter `ctx->stack.depth`
797.    * Uses exponentiation as in algorithm A.4.1 from IEEE P1363.
798.    */
799. > int	BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a, const int p[], BN_CTX *ctx)
800.   	{
801.   	int ret = 0;

crypto/bn/bn_gf2m.c:813:2: Call
811.   		}
812.   
813.   	BN_CTX_start(ctx);
        ^
814.   	if ((u = BN_CTX_get(ctx)) == NULL) goto err;
815.   	

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:821:2: Call
819.   
820.   err:
821.   	BN_CTX_end(ctx);
        ^
822.   	return ret;
823.   	}

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