From owner-freebsd-stable Sun Jul 7 23:26:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B031737B400 for ; Sun, 7 Jul 2002 23:26:33 -0700 (PDT) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ABF843E52 for ; Sun, 7 Jul 2002 23:26:33 -0700 (PDT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=rip.psg.com.psg.com) by rip.psg.com with esmtp (Exim 4.05) id 17RRsO-000Aou-00; Sun, 07 Jul 2002 23:20:01 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Udo Schweigert Cc: FreeBSD Stable Subject: Re: signal 8 (fp execption) in pgp 5 References: <20020707145020.D95654@cthulu.compt.com> <20020707215354.E95654@cthulu.compt.com> <20020708013324.A13139@cthulu.compt.com> <20020708060653.GA98569@alaska.cert.siemens.de> Message-Id: Date: Sun, 07 Jul 2002 23:20:01 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > --- 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