[git commit master 1/1] scripts/kconfig/mconf.c: stop-gap fix for buffer overflow

Denys Vlasenko vda.linux at googlemail.com
Mon Feb 7 01:19:02 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=5a746dcec5c1e09c3cff0326c3b205d2427861f0
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/kconfig/mconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 0c548bf..d292b46 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -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;
-- 
1.7.3.4



More information about the busybox-cvs mailing list