[git commit] placate gcc 8.0.1 sprintf overflow warnings in config tools
Denys Vlasenko
vda.linux at googlemail.com
Thu Apr 5 13:21:34 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=d878ccca9cc2537f4046a618aa9122967aa2ce3a
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
scripts/kconfig/confdata.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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;
More information about the busybox-cvs
mailing list