crypto/bn/bn_blind.c:139: error: INTEGER_OVERFLOW_L2
  ([0, 5+max(0, `ctx->stack.depth`)] - 1):unsigned32 by call to `BN_BLINDING_update`.
Showing all 23 steps of the trace


crypto/bn/bn_blind.c:127:1: Parameter `ctx->stack.depth`
125.   	}
126.   
127. > int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
128.   	{
129.   	int ret;

crypto/bn/bn_blind.c:137:11: Call
135.   		return(0);
136.   		}
137.   	if ((ret=BN_mod_mul(n,n,b->Ai,b->mod,ctx)) >= 0)
                 ^
138.   		{
139.   		if (!BN_BLINDING_update(b,ctx))

crypto/bn/bn_mod.c:178:1: Parameter `ctx->stack.depth`
  176.   
  177.   /* slow but works */
  178. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
  179.   	BN_CTX *ctx)
  180.   	{

crypto/bn/bn_mod.c:188:2: Call
  186.   	bn_check_top(m);
  187.   
  188.   	BN_CTX_start(ctx);
          ^
  189.   	if ((t = BN_CTX_get(ctx)) == NULL) goto err;
  190.   	if (a == b)

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_mod.c:198:2: Call
  196.   	ret=1;
  197.   err:
  198.   	BN_CTX_end(ctx);
          ^
  199.   	return(ret);
  200.   	}

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_blind.c:139:8: Call
137.   	if ((ret=BN_mod_mul(n,n,b->Ai,b->mod,ctx)) >= 0)
138.   		{
139.   		if (!BN_BLINDING_update(b,ctx))
              ^
140.   			return(0);
141.   		}

crypto/bn/bn_blind.c:97:1: Parameter `ctx->stack.depth`
  95.   	}
  96.   
  97. > int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx)
  98.   	{
  99.   	int ret=0;

crypto/bn/bn_blind.c:107:7: Call
  105.   		}
  106.   		
  107.   	if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err;
               ^
  108.   	if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err;
  109.   

crypto/bn/bn_mod.c:178:1: Parameter `ctx->stack.depth`
    176.   
    177.   /* slow but works */
    178. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
    179.   	BN_CTX *ctx)
    180.   	{

crypto/bn/bn_mod.c:188:2: Call
    186.   	bn_check_top(m);
    187.   
    188.   	BN_CTX_start(ctx);
            ^
    189.   	if ((t = BN_CTX_get(ctx)) == NULL) goto err;
    190.   	if (a == b)

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_mod.c:193:10: Call
    191.   		{ if (!BN_sqr(t,a,ctx)) goto err; }
    192.   	else
    193.   		{ if (!BN_mul(t,a,b,ctx)) goto err; }
                    ^
    194.   	if (!BN_nnmod(r,t,m,ctx)) goto err;
    195.   	bn_check_top(r);

crypto/bn/bn_mul.c:941:1: Parameter `ctx->stack.depth`
      939.   #endif /* BN_RECURSION */
      940.   
      941. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
      942.   	{
      943.   	int ret=0;

crypto/bn/bn_mul.c:972:2: Call
      970.   	top=al+bl;
      971.   
      972.   	BN_CTX_start(ctx);
              ^
      973.   	if ((r == a) || (r == b))
      974.   		{

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_mul.c:1098:2: Call
      1096.   err:
      1097.   	bn_check_top(r);
      1098.   	BN_CTX_end(ctx);
               ^
      1099.   	return(ret);
      1100.   	}

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, 5+max(0, ctx->stack.depth)] - 1):unsigned32 by call to `BN_BLINDING_update` 
          351.   static unsigned int BN_STACK_pop(BN_STACK *st)
          352.   	{
          353.   	return st->indexes[--(st->depth)];
                         ^
          354.   	}
          355.   
