mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-04 05:15:22 +00:00 
			
		
		
		
	Fixes for GCC 9
Various fixes for issues caught by gcc 9. Mostly snprintf trying to copy to a buffer potentially too small. ASTERISK-28412 Change-Id: I9e85a60f3c81d46df16cfdd1c329ce63432cf32e
This commit is contained in:
		@@ -3005,7 +3005,7 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
 | 
			
		||||
		if (do_include || do_exec) {
 | 
			
		||||
			if (c) {
 | 
			
		||||
				char *cur2;
 | 
			
		||||
				char real_inclusion_name[256];
 | 
			
		||||
				char real_inclusion_name[525];
 | 
			
		||||
 | 
			
		||||
				/* Strip off leading and trailing "'s and <>'s */
 | 
			
		||||
				while((*c == '<') || (*c == '>') || (*c == '\"')) c++;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user