← Commit list

d878ccca9

Denys Vlasenko
Denys Vlasenko
2018-04-05
SUCCESS Duration: 142s

Subject

placate gcc 8.0.1 sprintf overflow warnings in config tools

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

scripts/kconfig/confdata.c+3 -1
@@ -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;