crypto/ec/ec_asn1.c:468: error: INTEGER_OVERFLOW_L1
  (0 - 1):unsigned64 by call to `BN_num_bits`.
Showing all 6 steps of the trace


crypto/ec/ec_asn1.c:442:45: Call
440.   		return 0;
441.   
442.   	if ((tmp_1 = BN_new()) == NULL || (tmp_2 = BN_new()) == NULL)
                                                   ^
443.   		{
444.   		ECerr(EC_F_EC_ASN1_GROUP2CURVE, ERR_R_MALLOC_FAILURE);

crypto/bn/bn_lib.c:308:2: Assignment
  306.   		}
  307.   	ret->flags=BN_FLG_MALLOCED;
  308.   	ret->top=0;
          ^
  309.   	ret->neg=0;
  310.   	ret->dmax=0;

crypto/ec/ec_asn1.c:468:18: Call
466.   		}
467.   
468.   	len_1 = (size_t)BN_num_bytes(tmp_1);
                        ^
469.   	len_2 = (size_t)BN_num_bytes(tmp_2);
470.   

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 - 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.   
