Date: Mon, 8 Jul 2002 08:06:53 +0200 From: Udo Schweigert <udo.schweigert@siemens.com> To: Klaus Steden <klaus@compt.com> Cc: Randy Bush <randy@psg.com>, FreeBSD Stable <freebsd-stable@FreeBSD.ORG> Subject: Re: signal 8 (fp execption) in pgp 5 Message-ID: <20020708060653.GA98569@alaska.cert.siemens.de> In-Reply-To: <20020708013324.A13139@cthulu.compt.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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 08, 2002 at 01:33:24 -0400, Klaus Steden wrote: > >>>>> yesterday's -stable and ports tree, rebuilt twice. > >>>>> % pgpk -l randy > >>>>> Type Bits KeyID Created Expires Algorithm Use > >>>>> sec+ 1024 0xB1331439 1994-04-04 ---------- RSA Sign & Encrypt > >>>>> uid Randy Bush <randy@psg.com> > >>>>> 1 matching key found > >>>>> Received signal 8. > >> Just out of curiosity, what kind of CPUs are you running this on? >> >> works pent 3 0.8ghz >> fails pent 4 1.7ghz >> > I'm running 1.0 GHz AMD Durons. The other machines I ran tests on were PIIs and > PIIIs. > Hi all, I also came across that problem and found the following patch (to be included as files/patch-ah into the pgp5 port) as a solution. (I also have the problem only on P4-systems). --- 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; Best regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 CT IC CERT, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com 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?20020708060653.GA98569>