crypto/ec/ec_mult.c:462: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_num_bits`.
Showing all 5 steps of the trace


crypto/ec/ec_mult.c:344:1: Parameter `scalar->top`
342.    * in the addition if scalar != NULL
343.    */
344. > int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
345.   	size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
346.   	{

crypto/ec/ec_mult.c:462:46: Call
460.   		size_t bits;
461.   
462.   		bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar);
                                                    ^
463.   		wsize[i] = EC_window_bits_for_scalar_size(bits);
464.   		num_val += 1u << (wsize[i] - 1);

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.   
