mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +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'
|