crypto/rsa/rsa_lib.c:385: 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_lib.c:362:1: Parameter `in_ctx->stack.depth`
360.   }
361.   
362. > BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
363.   {
364.   	BIGNUM *e;

crypto/rsa/rsa_lib.c:375:2: Call
373.   		ctx = in_ctx;
374.   
375.   	BN_CTX_start(ctx);
        ^
376.   	e  = BN_CTX_get(ctx);
377.   	if (e == NULL)

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/rsa/rsa_lib.c:385:7: Call
383.   	if (rsa->e == NULL)
384.   		{
385.   		e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx);
             ^
386.   		if (e == NULL)
387.   			{

crypto/rsa/rsa_lib.c:337:1: Parameter `ctx->stack.depth`
  335.   	}
  336.   
  337. > static BIGNUM *rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p,
  338.   	const BIGNUM *q, BN_CTX *ctx)
  339.   {

crypto/rsa/rsa_lib.c:345:2: Call
  343.   		return NULL;
  344.   
  345.   	BN_CTX_start(ctx);
          ^
  346.   	r0 = BN_CTX_get(ctx);
  347.   	r1 = BN_CTX_get(ctx);

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/rsa/rsa_lib.c:354:7: Call
  352.   	if (!BN_sub(r1, p, BN_value_one())) goto err;
  353.   	if (!BN_sub(r2, q, BN_value_one())) goto err;
  354.   	if (!BN_mul(r0, r1, r2, ctx)) goto err;
               ^
  355.   
  356.   	ret = BN_mod_inverse(NULL, d, r0, ctx);

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