[Nasm-bugs] [Bug 3392516] Malformed input file results in segmentation fault of NASM

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Mon Sep 10 11:49:47 PDT 2018


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

--- Comment #2 from Jordan Zebor <j.zebor at f5.com> ---
# Core file stack trace (memory addresses removed)
$ gdb ../nasm core
Core was generated by `../nasm -f elf64 pshufw.asm'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00005592df486fed in parse_line (pass=1, buffer=0x5592dfc11460 "pshufw
word e-0", result=0x7ffd44999170) at asm/parser.c:1129
1129                    op->type      |= nasm_reg_flags[value->type];
(gdb) set print addr off
(gdb) bt
#0  parse_line (pass=1, buffer="pshufw word e-0", result=) at asm/parser.c:1129
#1  assemble_file (fname="pshufw.asm", depend_ptr=) at asm/nasm.c:1449
#2  main (argc=4, argv=) at asm/nasm.c:566
(gdb) f 0
#0  parse_line (pass=1, buffer="pshufw word e-0", result=) at asm/parser.c:1129
1129                    op->type      |= nasm_reg_flags[value->type];
(gdb) p value->type
$1 = -456752907

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