Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jul 2002 23:20:01 -0700
From:      Randy Bush <randy@psg.com>
To:        Udo Schweigert <udo.schweigert@siemens.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: signal 8 (fp execption) in pgp 5
Message-ID:  <E17RRsO-000Aou-00@rip.psg.com>
References:  <E17R4zs-000LZb-00@rip.psg.com> <20020707145020.D95654@cthulu.compt.com> <E17RJPn-000KNc-00@rip.psg.com> <20020707215354.E95654@cthulu.compt.com> <E17RQyE-0007d3-00@rip.psg.com> <20020708013324.A13139@cthulu.compt.com> <20020708060653.GA98569@alaska.cert.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> --- lib/pgp/random/pgpRndUnix.c.orig	Sat Aug  9 23:45:14 1997
> +++ lib/pgp/random/pgpRndUnix.c	Mon Jul  8 07:59:30 2002
> @@ -307,7 +307,11 @@
>  
>  		if (!ticksize)
>  			ticksize = ranTickSize();
> -		delta = (word32)(tickdiff(t, prevt) / ticksize);
> +		if (ticksize) {
> +			delta = (word32)(tickdiff(t, prevt) / ticksize);
> +		} else {
> +			delta = (word32)(tickdiff(t, prevt));
> +		}
>  		prevt = t;
>  
>  		return delta;

bingo!

besten dank,

randy


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17RRsO-000Aou-00>