engines/ccgost/gost_ameth.c:729: error: INTEGER_OVERFLOW_L1
  (0 - 1):unsigned64 by call to `BN_num_bits`.
Showing all 6 steps of the trace


engines/ccgost/gost_ameth.c:726:4: Call
724.   		}	
725.   	X=BN_new();
726.   	Y=BN_new();
          ^
727.   	EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(ec),
728.   		pub_key,X,Y,NULL);

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;

engines/ccgost/gost_ameth.c:729:15: Call
727.   	EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(ec),
728.   		pub_key,X,Y,NULL);
729.   	data_len = 2*BN_num_bytes(order);
                     ^
730.   	BN_free(order);
731.   	databuf = OPENSSL_malloc(data_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 - 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.   
