[Nasm-bugs] [Bug 3392668] New: SEGV in asm/preproc.c:4679

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed May 27 01:20:00 PDT 2020


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

            Bug ID: 3392668
           Summary: SEGV in asm/preproc.c:4679
           Product: NASM
           Version: 2.14.xx
          Hardware: PC
                OS: Linux
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: puppet at zju.edu.cn
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Build from source archive using configure

Created attachment 411769
  --> https://bugzilla.nasm.us/attachment.cgi?id=411769&action=edit
POC_2_000003

version: nasm 2.14.03rc2

OS: Ubuntu 16.04 LTS

cmd: ./nasm -i bin ./POC -o /dev/null


ASAN log:

=================================================================
==10034==ERROR: AddressSanitizer: SEGV on unknown address 0x60bdd8a0bb00 (pc
0x000000446a43 bp 0x7fffffffdda0 sp 0x7fffffffdcc0 T0)
    #0 0x446a42 in is_mmacro asm/preproc.c:4679
    #1 0x447556 in expand_mmacro asm/preproc.c:4769
    #2 0x44a9cb in pp_getline asm/preproc.c:5255
    #3 0x408b57 in assemble_file asm/nasm.c:1488
    #4 0x404a72 in main asm/nasm.c:617
    #5 0x7ffff6ac082f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #6 0x4022a8 in _start (/data3/ASAN/nasm-2.14.03rc2/ASAN/nasm+0x4022a8)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV asm/preproc.c:4679 is_mmacro
==10034==ABORTING

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