alpha/72024: LONG_MIN / 1 sends a "Floating exception"
Peter Edwards
peadar at freebsd.org
Sat Oct 9 19:20:22 PDT 2004
The following reply was made to PR alpha/72024; it has been noted by GNATS.
From: Peter Edwards <peadar at freebsd.org>
To: freebsd-gnats-submit at FreeBSD.org, ppelissi at 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.
More information about the freebsd-alpha
mailing list