diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-05 15:21:34 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-05 15:21:34 +0200 |
| commit | d878ccca9cc2537f4046a618aa9122967aa2ce3a (patch) | |
| tree | c4fcb2339619f21e981f2a53bbfb23c9c5ca79f1 /scripts | |
| parent | 21b7f1b6b67f191ca187910a5fd4cd2cb1eb5353 (diff) | |
| download | busybox-w32-d878ccca9cc2537f4046a618aa9122967aa2ce3a.tar.gz busybox-w32-d878ccca9cc2537f4046a618aa9122967aa2ce3a.tar.bz2 busybox-w32-d878ccca9cc2537f4046a618aa9122967aa2ce3a.zip | |
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 8f4ecbd33..b05b96e45 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c | |||
| @@ -334,7 +334,9 @@ int conf_write(const char *name) | |||
| 334 | struct symbol *sym; | 334 | struct symbol *sym; |
| 335 | struct menu *menu; | 335 | struct menu *menu; |
| 336 | const char *basename; | 336 | const char *basename; |
| 337 | char dirname[128], tmpname[128], newname[128]; | 337 | char dirname[128]; |
| 338 | char tmpname[256]; | ||
| 339 | char newname[256]; | ||
| 338 | int type, l; | 340 | int type, l; |
| 339 | const char *str; | 341 | const char *str; |
| 340 | time_t now; | 342 | time_t now; |
