apps/ecparam.c:526: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_num_bits`.
Showing all 7 steps of the trace


apps/ecparam.c:519:8: Call
517.   		if (!EC_GROUP_get_order(group, ec_order, NULL))
518.   			goto end;
519.   		if (!EC_GROUP_get_cofactor(group, ec_cofactor, NULL))
              ^
520.   			goto end;
521.   

crypto/ec/ec_lib.c:330:7: Call
  328.   int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
  329.   	{
  330.   	if (!BN_copy(cofactor, &group->cofactor))
               ^
  331.   		return 0;
  332.   

crypto/bn/bn_lib.c:497:1: Parameter `a->top`
    495.   	}
    496.   
    497. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
    498.   	{
    499.   	int i;

apps/ecparam.c:526:9: Call
524.   			goto end;
525.   
526.   		len = BN_num_bits(ec_order);
               ^
527.   
528.   		if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len)

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_num_bits` 
  248.   int BN_num_bits(const BIGNUM *a)
  249.   	{
  250.   	int i = a->top - 1;
          ^
  251.   	bn_check_top(a);
  252.   
