crypto/bn/bn_prime.c:199: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_is_prime_fasttest_ex`.
Showing all 10 steps of the trace


crypto/bn/bn_prime.c:183:9: Call
181.   		if (safe)
182.   			{
183.   			if (!probable_prime_dh_safe(ret,bits,add,rem,ctx))
               ^
184.   				 goto err;
185.   			}

crypto/bn/bn_prime.c:444:1: Parameter `p->top`
  442.   	}
  443.   
  444. > static int probable_prime_dh_safe(BIGNUM *p, int bits, const BIGNUM *padd,
  445.   	const BIGNUM *rem, BN_CTX *ctx)
  446.   	{

crypto/bn/bn_prime.c:199:5: Call
197.   	if (!safe)
198.   		{
199.   		i=BN_is_prime_fasttest_ex(ret,checks,ctx,0,cb);
           ^
200.   		if (i == -1) goto err;
201.   		if (i == 0) goto loop;

crypto/bn/bn_prime.c:243:1: Parameter `a->top`
  241.   	}
  242.   
  243. > int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed,
  244.   		int do_trial_division, BN_GENCB *cb)
  245.   	{

crypto/bn/bn_prime.c:253:6: Call
  251.   	const BIGNUM *A = NULL;
  252.   
  253.   	if (BN_cmp(a, BN_value_one()) <= 0)
              ^
  254.   		return 0;
  255.   	

crypto/bn/bn_lib.c:678:1: Parameter `a->top`
    676.   	}
    677.   
    678. > int BN_cmp(const BIGNUM *a, const BIGNUM *b)
    679.   	{
    680.   	int i;

crypto/bn/bn_prime.c:257:12: Call
  255.   	
  256.   	if (checks == BN_prime_checks)
  257.   		checks = BN_prime_checks_for_size(BN_num_bits(a));
                    ^
  258.   
  259.   	/* first look for small factors */

crypto/bn/bn_lib.c:248:1: <LHS trace>
246.   	}
247.   
248. > int BN_num_bits(const BIGNUM *a)
249.   	{
250.   	int i = a->top - 1;

crypto/bn/bn_lib.c:248:1: Parameter `a->top`
    246.   	}
    247.   
    248. > int BN_num_bits(const BIGNUM *a)
    249.   	{
    250.   	int i = a->top - 1;

crypto/bn/bn_lib.c:250:2: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_is_prime_fasttest_ex` 
    248.   int BN_num_bits(const BIGNUM *a)
    249.   	{
    250.   	int i = a->top - 1;
            ^
    251.   	bn_check_top(a);
    252.   
