scripts/kconfig/mconf.c: stop-gap fix for buffer overflow
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Feb 2011 01:19:02 +0000 (02:19 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Feb 2011 01:19:02 +0000 (02:19 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/kconfig/mconf.c

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