From: Denys Vlasenko Date: Thu, 5 Apr 2018 13:21:34 +0000 (+0200) Subject: placate gcc 8.0.1 sprintf overflow warnings in config tools X-Git-Tag: 1_29_0~136 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d878ccca9cc2537f4046a618aa9122967aa2ce3a;p=oweals%2Fbusybox.git placate gcc 8.0.1 sprintf overflow warnings in config tools Signed-off-by: Denys Vlasenko --- diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 8f4ecbd33..b05b96e45 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -334,7 +334,9 @@ int conf_write(const char *name) struct symbol *sym; struct menu *menu; const char *basename; - char dirname[128], tmpname[128], newname[128]; + char dirname[128]; + char tmpname[256]; + char newname[256]; int type, l; const char *str; time_t now;