[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
alpha/72024: LONG_MIN / 1 sends a "Floating exception"
- Subject: alpha/72024: LONG_MIN / 1 sends a "Floating exception"
- From: peadar at freebsd.org (Peter Edwards)
- Date: Sat Oct 9 19:20:23 2004
The following reply was made to PR alpha/72024; it has been noted by GNATS.
From: Peter Edwards <peadar_(_at_)_freebsd_(_dot_)_org>
To: freebsd-gnats-submit_(_at_)_FreeBSD_(_dot_)_org, ppelissi_(_at_)_caramail_(_dot_)_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.
Visit your host, monkey.org