diff options
author | Denys Vlasenko | 2018-04-05 15:21:34 +0200 |
---|---|---|
committer | Denys Vlasenko | 2018-04-05 15:21:34 +0200 |
commit | d878ccca9cc2537f4046a618aa9122967aa2ce3a (patch) | |
tree | c4fcb2339619f21e981f2a53bbfb23c9c5ca79f1 /scripts | |
parent | 21b7f1b6b67f191ca187910a5fd4cd2cb1eb5353 (diff) | |
download | busybox-d878ccca9cc2537f4046a618aa9122967aa2ce3a.zip busybox-d878ccca9cc2537f4046a618aa9122967aa2ce3a.tar.gz |
placate gcc 8.0.1 sprintf overflow warnings in config tools
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/confdata.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 8f4ecbd..b05b96e 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; |