[Nasm-bugs] [Bug 3392437] New: times with negative value causes panic

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Sun Sep 10 10:12:51 PDT 2017


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

            Bug ID: 3392437
           Summary: times with negative value causes panic
           Product: NASM
           Version: 2.14 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: pushbx at 38.de
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Using a negative value for times now results in a panic, as follows:

$ nasm -v
NASM version 2.14rc0-20170624 compiled on Jun 24 2017
$ cat nasmbug.asm 
times -1 db 0
$ nasm nasmbug.asm -o nasmbug.bin
nasmbug.asm:1: panic: assertion output_ins.times >= 0 failed at asm/nasm.c:1342
$ 

Previously this would cause an "error: TIMES value -1 is negative".

-- 
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