mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	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'
 |