[Nasm-bugs] [Bug 3392368] "exponent 32 is too large" undefined behavior at float.c line 559.

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Wed Nov 21 10:54:56 PST 2018


https://bugzilla.nasm.us/show_bug.cgi?id=3392368

Michael Bradshaw <mjbshaw at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
                 CC|                            |mjbshaw at google.com
             Status|CLOSED                      |OPEN

--- Comment #5 from Michael Bradshaw <mjbshaw at google.com> ---
This issue was not fixed in commit 65ce38a8199b8df4524e0ce883678a852de1b10a.
You can still reproduce this issue with nasm 2.14.

Steps to reproduce:
1. Download nasm 2.14.
2. Configure with:
   CFLAGS='-fsanitize=shift-exponent' ./configure
3. make
4. ./nasm test/radix.asm

The problem is in asm/float.c, as pointed out by Brooks a couple years ago.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list