mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	addr2line.c (binary_filename): extend the buffer for NUL terminator
This commit is contained in:
		
							parent
							
								
									a7dd6763bd
								
							
						
					
					
						commit
						41e09ca4be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -187,7 +187,7 @@ struct debug_section_definition {
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
/* Avoid consuming stack as this module may be used from signal handler */
 | 
			
		||||
static char binary_filename[PATH_MAX];
 | 
			
		||||
static char binary_filename[PATH_MAX + 1];
 | 
			
		||||
 | 
			
		||||
static unsigned long
 | 
			
		||||
uleb128(char **p)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue