scripts/kconfig/mconf.c: stop-gap fix for buffer overflow

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-02-07 02:19:02 +01:00
parent 8ee2adab21
commit 5a746dcec5

View File

@ -256,7 +256,7 @@ search_help[] = N_(
" USB$ => find all CONFIG_ symbols ending with USB\n" " USB$ => find all CONFIG_ symbols ending with USB\n"
"\n"); "\n");
static char buf[4096], *bufptr = buf; static char buf[4096*10], *bufptr = buf;
static char input_buf[4096]; static char input_buf[4096];
static const char filename[] = ".config"; static const char filename[] = ".config";
static char *args[1024], **argptr = args; static char *args[1024], **argptr = args;