apps/rsa.c:342: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `RSA_check_key`.
Showing all 12 steps of the trace


apps/rsa.c:336:3: Call
334.   		{
335.   		BIO_printf(out,"Modulus=");
336.   		BN_print(out,rsa->n);
         ^
337.   		BIO_printf(out,"\n");
338.   		}

crypto/bn/bn_print.c:334:1: Parameter `a->top`
  332.   #endif
  333.   
  334. > int BN_print(BIO *bp, const BIGNUM *a)
  335.   	{
  336.   	int i,j,v,z=0;

apps/rsa.c:342:11: Call
340.   	if (check)
341.   		{
342.   		int r = RSA_check_key(rsa);
                 ^
343.   
344.   		if (r == 1)

crypto/rsa/rsa_chk.c:56:1: Parameter `key->d->top`
  54.   
  55.   
  56. > int RSA_check_key(const RSA *key)
  57.   	{
  58.   	BIGNUM *i, *j, *k, *l, *m;

crypto/rsa/rsa_chk.c:137:7: Call
  135.   		if (!r) { ret = -1; goto err; }
  136.   
  137.   		r = BN_mod(j, key->d, i, ctx);
               ^
  138.   		if (!r) { ret = -1; goto err; }
  139.   

crypto/bn/bn_div.c:181:1: Parameter `num->top`
    179.   static int BN_div_no_branch(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num,
    180.           const BIGNUM *divisor, BN_CTX *ctx);
    181. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
    182.   	   BN_CTX *ctx)
    183.   	{

crypto/bn/bn_div.c:204:10: Call
    202.   	if ((BN_get_flags(num, BN_FLG_CONSTTIME) != 0) || (BN_get_flags(divisor, BN_FLG_CONSTTIME) != 0))
    203.   		{
    204.   		return BN_div_no_branch(dv, rm, num, divisor, ctx);
                    ^
    205.   		}
    206.   

crypto/bn/bn_div.c:426:1: Parameter `num->top`
      424.    * branches that may leak sensitive information.
      425.    */
      426. > static int BN_div_no_branch(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, 
      427.   	const BIGNUM *divisor, BN_CTX *ctx)
      428.   	{

crypto/bn/bn_div.c:460:8: Call
      458.   	sdiv->neg=0;
      459.   	norm_shift+=BN_BITS2;
      460.   	if (!(BN_lshift(snum,num,norm_shift))) goto err;
                    ^
      461.   	snum->neg=0;
      462.   

crypto/bn/bn_shift.c:132:1: <LHS trace>
130.   	}
131.   
132. > int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
133.   	{
134.   	int i,nw,lb,rb;

crypto/bn/bn_shift.c:132:1: Parameter `a->top`
        130.   	}
        131.   
        132. > int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
        133.   	{
        134.   	int i,nw,lb,rb;

crypto/bn/bn_shift.c:150:8: Binary operation: ([0, +oo] - 1):unsigned64 by call to `RSA_check_key` 
        148.   	t[a->top+nw]=0;
        149.   	if (lb == 0)
        150.   		for (i=a->top-1; i>=0; i--)
                      ^
        151.   			t[nw+i]=f[i];
        152.   	else
