Created attachment 411751 [details] poc Hi, I found Segmentation Fault in ieee_segment() at output/outieee.c:705:18 It is triggered in nasm version 2.15 and nasm-2.14.03rc2. Please run following command nasm -f ieee -o /dev/null $PoC Here's ASAN log ==8545==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000042e7f0 bp 0x7ffecb7c3590 sp 0x7ffecb7c2d10 T0) ==8545==The signal is caused by a READ memory access. ==8545==Hint: address points to the zero page. #0 0x42e7ef in __interceptor_strcmp /tmp/final/llvm.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc #1 0x953e76 in ieee_segment nasm-2.15rc0-20191023/output/outieee.c:705:18 #2 0x5359f7 in process_directives nasm-2.15rc0-20191023/asm/directiv.c:243:23 #3 0x4f061b in assemble_file nasm-2.15rc0-20191023/asm/nasm.c:1639:17 #4 0x4f061b in main nasm-2.15rc0-20191023/asm/nasm.c:637 #5 0x7f0b02e3eb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #6 0x41abc9 in _start (nasm+0x41abc9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /tmp/final/llvm.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc in __interceptor_strcmp ==8545==ABORTING NASM version 2.15rc0-20191023 compiled on Dec 9 2019
Indeed, this is because name for section doesn't get updated. Since ieee format is not that popular I defer it for a while.
Bisection pointed to commit 98578071b9d71ecaa2344dd9c185237c1765041e
fixed in 93c774d482694643cafbc82578ac8b729fb5bc8b