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

crypto/rsa/rsa_lib.c:376:7: Call
374.   
375.   	BN_CTX_start(ctx);
376.   	e  = BN_CTX_get(ctx);
             ^
377.   	if (e == NULL)
378.   		{

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

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->pool.used`
  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:346:7: Call
  344.   
  345.   	BN_CTX_start(ctx);
  346.   	r0 = BN_CTX_get(ctx);
               ^
  347.   	r1 = BN_CTX_get(ctx);
  348.   	r2 = BN_CTX_get(ctx);

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

crypto/rsa/rsa_lib.c:347:7: Call
  345.   	BN_CTX_start(ctx);
  346.   	r0 = BN_CTX_get(ctx);
  347.   	r1 = BN_CTX_get(ctx);
               ^
  348.   	r2 = BN_CTX_get(ctx);
  349.   	if (r2 == NULL)

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

crypto/rsa/rsa_lib.c:348:7: Call
  346.   	r0 = BN_CTX_get(ctx);
  347.   	r1 = BN_CTX_get(ctx);
  348.   	r2 = BN_CTX_get(ctx);
               ^
  349.   	if (r2 == NULL)
  350.   		goto err;

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

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->pool.used`
    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: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->pool.used`
      268.   	}
      269.   
      270. > void BN_CTX_end(BN_CTX *ctx)
      271.   	{
      272.   	CTXDBG_ENTRY("BN_CTX_end", ctx);

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

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

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

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