Date: Sun, 10 Oct 2004 02:20:21 GMT From: Peter Edwards <peadar@freebsd.org> To: freebsd-alpha@FreeBSD.org Subject: Re: alpha/72024: LONG_MIN / 1 sends a "Floating exception" Message-ID: <200410100220.i9A2KLNE098388@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR alpha/72024; it has been noted by GNATS. From: Peter Edwards <peadar@freebsd.org> To: freebsd-gnats-submit@FreeBSD.org, ppelissi@caramail.com Cc: Subject: Re: alpha/72024: LONG_MIN / 1 sends a "Floating exception" Date: Sun, 10 Oct 2004 03:12:19 +0100 Er, After realising that this source came from NetBSD, I checked their CVS repo, and found it already fixed there with an equivalent patch. There's also an equivalent in the kernel: /usr/src/sys/alpha/alpha/divrem.m4. The kernel case might be a security issue if you could find a syscall that would do arbitrary (assuming not by zero!) division of 64-bit values.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410100220.i9A2KLNE098388>