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


engines/ccgost/gost_ameth.c:616:25: Call
614.   	if (pk->save_parameters) 
615.   		{
616.   		ASN1_STRING *params = encode_gost_algor_params(pk);
                               ^
617.   		pval = params;
618.   		ptype = V_ASN1_SEQUENCE;

engines/ccgost/gost_ameth.c:58:27: Call
  56.   			break;
  57.   		case NID_id_GostR3410_94:
  58.   			pkey_param_nid = (int) gost94_nid_by_params(EVP_PKEY_get0((EVP_PKEY *)key));
                                  ^
  59.   			if (pkey_param_nid == NID_undef) 
  60.   				{

engines/ccgost/gost_ameth.c:20:1: Parameter `p->q->top`
    18.   #include "e_gost_err.h"
    19.   
    20. > int gost94_nid_by_params(DSA *p) 
    21.   	{
    22.   	R3410_params *gost_params;

engines/ccgost/gost_ameth.c:620:13: Call
618.   		ptype = V_ASN1_SEQUENCE;
619.   		}	
620.   	data_len = BN_num_bytes(dsa->pub_key);
                   ^
621.   	databuf = OPENSSL_malloc(data_len);
622.   	BN_bn2bin(dsa->pub_key,databuf);

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.   
