engines/ccgost/gost_sign.c:163: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_div`.
Showing all 10 steps of the trace


engines/ccgost/gost_sign.c:152:5: Call
150.   		return 0;
151.   		}
152.   	md=hashsum2bn(dgst);
           ^
153.   	
154.   	tmp=BN_CTX_get(ctx);

engines/ccgost/gost_sign.c:290:9: Call
  288.   		buf[31-i]=dgst[i];
  289.   		}
  290.   	return getbnfrombuf(buf,32);
                 ^
  291.   	}
  292.   

engines/ccgost/gost_sign.c:302:10: Call
    300.   	if (len)
    301.   		{
    302.   		return BN_bin2bn(buf,len,NULL);
                    ^
    303.   		}
    304.   	else

crypto/bn/bn_lib.c:597:1: Parameter `ret->top`
      595.   	}
      596.   
      597. > BIGNUM *BN_bin2bn(const unsigned char *s, size_t len, BIGNUM *ret)
      598.   	{
      599.   	unsigned int i,m;

engines/ccgost/gost_sign.c:163:2: Call
161.   	u = BN_CTX_get(ctx);
162.   	
163.   	BN_mod(tmp,md,dsa->q,ctx);
        ^
164.   	if (BN_is_zero(tmp))
165.   		{

crypto/bn/bn_div.c:181:1: Parameter `num->top`
  179.   static int BN_div_no_branch(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num,
  180.           const BIGNUM *divisor, BN_CTX *ctx);
  181. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
  182.   	   BN_CTX *ctx)
  183.   	{

crypto/bn/bn_div.c:218:6: Call
  216.   		}
  217.   
  218.   	if (BN_ucmp(num,divisor) < 0)
              ^
  219.   		{
  220.   		if (rm != NULL)

crypto/bn/bn_lib.c:656:1: <LHS trace>
654.   	}
655.   
656. > int BN_ucmp(const BIGNUM *a, const BIGNUM *b)
657.   	{
658.   	int i;

crypto/bn/bn_lib.c:656:1: Parameter `a->top`
    654.   	}
    655.   
    656. > int BN_ucmp(const BIGNUM *a, const BIGNUM *b)
    657.   	{
    658.   	int i;

crypto/bn/bn_lib.c:668:7: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_div` 
    666.   	ap=a->d;
    667.   	bp=b->d;
    668.   	for (i=a->top-1; i>=0; i--)
                 ^
    669.   		{
    670.   		t1= ap[i];
