crypto/rsa/rsa_crpt.c:181: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `rsa_get_public_exp`.
Showing all 17 steps of the trace


crypto/rsa/rsa_crpt.c:157:1: Parameter `in_ctx->stack.depth`
155.   }
156.   
157. > BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
158.   {
159.   	BIGNUM *local_n = NULL;

crypto/rsa/rsa_crpt.c:171:2: Call
169.   		ctx = in_ctx;
170.   
171.   	BN_CTX_start(ctx);
        ^
172.   	e  = BN_CTX_get(ctx);
173.   	if (e == NULL)

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

crypto/rsa/rsa_crpt.c:181:7: Call
179.   	if (rsa->e == NULL)
180.   		{
181.   		e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx);
             ^
182.   		if (e == NULL)
183.   			{

crypto/rsa/rsa_crpt.c:132:1: Parameter `ctx->stack.depth`
  130.   	}
  131.   
  132. > static BIGNUM *rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p,
  133.   	const BIGNUM *q, BN_CTX *ctx)
  134.   {

crypto/rsa/rsa_crpt.c:140:2: Call
  138.   		return NULL;
  139.   
  140.   	BN_CTX_start(ctx);
          ^
  141.   	r0 = BN_CTX_get(ctx);
  142.   	r1 = BN_CTX_get(ctx);

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

crypto/rsa/rsa_crpt.c:149:7: Call
  147.   	if (!BN_sub(r1, p, BN_value_one())) goto err;
  148.   	if (!BN_sub(r2, q, BN_value_one())) goto err;
  149.   	if (!BN_mul(r0, r1, r2, ctx)) goto err;
               ^
  150.   
  151.   	ret = BN_mod_inverse(NULL, d, r0, ctx);

crypto/bn/bn_mul.c:898:1: Parameter `ctx->stack.depth`
    896.   #endif /* BN_RECURSION */
    897.   
    898. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    899.   	{
    900.   	int ret=0;

crypto/bn/bn_mul.c:925:2: Call
    923.   	top=al+bl;
    924.   
    925.   	BN_CTX_start(ctx);
            ^
    926.   	if ((r == a) || (r == b))
    927.   		{

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

crypto/bn/bn_mul.c:1051:2: Call
    1049.   err:
    1050.   	bn_check_top(r);
    1051.   	BN_CTX_end(ctx);
             ^
    1052.   	return(ret);
    1053.   	}

crypto/bn/bn_ctx.c:271:1: Parameter `ctx->stack.depth`
      269.   	}
      270.   
      271. > void BN_CTX_end(BN_CTX *ctx)
      272.   	{
      273.   	CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:278:21: Call
      276.   	else
      277.   		{
      278.   		unsigned int fp = BN_STACK_pop(&ctx->stack);
                                 ^
      279.   		/* Does this stack frame have anything to release? */
      280.   		if(fp < ctx->used)

crypto/bn/bn_ctx.c:352:1: <LHS trace>
350.   	}
351.   
352. > static unsigned int BN_STACK_pop(BN_STACK *st)
353.   	{
354.   	return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:352:1: Parameter `st->depth`
        350.   	}
        351.   
        352. > static unsigned int BN_STACK_pop(BN_STACK *st)
        353.   	{
        354.   	return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:354:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `rsa_get_public_exp` 
        352.   static unsigned int BN_STACK_pop(BN_STACK *st)
        353.   	{
        354.   	return st->indexes[--(st->depth)];
                       ^
        355.   	}
        356.   
