[Nasm-bugs] [Bug 3392708] New: SEGV in tok_text asm/preproc.c:322
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Tue Jul 28 04:05:42 PDT 2020
https://bugzilla.nasm.us/show_bug.cgi?id=3392708
Bug ID: 3392708
Summary: SEGV in tok_text asm/preproc.c:322
Product: NASM
Version: 2.15 (development)
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: prada960808 at gmail.com
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 411797
--> https://bugzilla.nasm.us/attachment.cgi?id=411797&action=edit
poc
Hi,
I found a SEGV in tok_text asm/preproc.c:322
It is triggered in nasm version 2.15rc10.
Please run following command
`nasm -f win64 -o tmp.o $PoC`
==32505==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000000c (pc
0x55f65853fe00 bp 0x7feb4656d600 sp 0x7ffed04f1fe0 T0)
==32505==The signal is caused by a READ memory access.
==32505==Hint: address points to the zero page.
#0 0x55f65853fdff in tok_text asm/preproc.c:322
#1 0x55f65853fdff in do_directive asm/preproc.c:3552
#2 0x55f65855f738 in pp_tokline asm/preproc.c:6716
#3 0x55f65855f738 in pp_getline asm/preproc.c:6779
#4 0x55f6583d1dfa in assemble_file asm/nasm.c:1705
#5 0x55f6583c7056 in main asm/nasm.c:712
#6 0x7feb450f7b96 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55f6583ca129 in _start
(/mnt/hda2/suhwan/add_project/final/FINAL_TEST_ZONE/program/nasm-2.15rc10/install_dir/bin/nasm+0x124129)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV asm/preproc.c:322 in tok_text
==32505==ABORTING
--
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
More information about the Nasm-bugs
mailing list