mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
4e1d5ab0cf
Under particular circumstances %strlen may cause SIGSEG. A typical example is %strlen with nonexistent macro argument. [ Testcase test/strlen.asm ] Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
6 lines
91 B
NASM
6 lines
91 B
NASM
%macro strlen_test 1
|
|
%strlen len %2 ; not existing argument
|
|
%endmacro
|
|
|
|
strlen_test 'a'
|