mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +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:
@@ -3267,7 +3267,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