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


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

crypto/rsa/rsa_crpt.c:172:7: Call
170.   
171.   	BN_CTX_start(ctx);
172.   	e  = BN_CTX_get(ctx);
             ^
173.   	if (e == NULL)
174.   		{

crypto/bn/bn_ctx.c:290:1: Parameter `ctx->pool.used`
  288.   	}
  289.   
  290. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
  291.   	{
  292.   	BIGNUM *ret;

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->pool.used`
  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:141:7: Call
  139.   
  140.   	BN_CTX_start(ctx);
  141.   	r0 = BN_CTX_get(ctx);
               ^
  142.   	r1 = BN_CTX_get(ctx);
  143.   	r2 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:290:1: Parameter `ctx->pool.used`
    288.   	}
    289.   
    290. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    291.   	{
    292.   	BIGNUM *ret;

crypto/rsa/rsa_crpt.c:142:7: Call
  140.   	BN_CTX_start(ctx);
  141.   	r0 = BN_CTX_get(ctx);
  142.   	r1 = BN_CTX_get(ctx);
               ^
  143.   	r2 = BN_CTX_get(ctx);
  144.   	if (r2 == NULL)

crypto/bn/bn_ctx.c:290:1: Parameter `ctx->pool.used`
    288.   	}
    289.   
    290. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    291.   	{
    292.   	BIGNUM *ret;

crypto/rsa/rsa_crpt.c:143:7: Call
  141.   	r0 = BN_CTX_get(ctx);
  142.   	r1 = BN_CTX_get(ctx);
  143.   	r2 = BN_CTX_get(ctx);
               ^
  144.   	if (r2 == NULL)
  145.   		goto err;

crypto/bn/bn_ctx.c:290:1: Parameter `ctx->pool.used`
    288.   	}
    289.   
    290. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    291.   	{
    292.   	BIGNUM *ret;

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:943:1: Parameter `ctx->pool.used`
    941.   #endif /* BN_RECURSION */
    942.   
    943. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    944.   	{
    945.   	int ret=0;

crypto/bn/bn_mul.c:1100:2: Call
    1098.   err:
    1099.   	bn_check_top(r);
    1100.   	BN_CTX_end(ctx);
             ^
    1101.   	return(ret);
    1102.   	}

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

crypto/bn/bn_ctx.c:282:4: Call
      280.   		/* Does this stack frame have anything to release? */
      281.   		if(fp < ctx->used)
      282.   			BN_POOL_release(&ctx->pool, ctx->used - fp);
                ^
      283.   		ctx->used = fp;
      284.   		/* Unjam "too_many" in case "get" had failed */

crypto/bn/bn_ctx.c:440:1: <LHS trace>
438.   	}
439.   
440. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
441.   	{
442.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:440:1: Parameter `p->used`
        438.   	}
        439.   
        440. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
        441.   	{
        442.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:442:2: Binary operation: ([0, +oo] - 1):unsigned32 by call to `rsa_get_public_exp` 
        440.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
        441.   	{
        442.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
                ^
        443.   	p->used -= num;
        444.   	while(num--)
