From: Julian Seward Date: Sun, 3 Oct 2010 12:35:03 +0000 (+0000) Subject: callgrind/main.c, finish(): 'Char buf[RESULTS_BUF_LEN]' can be overrun in X-Git-Tag: svn/VALGRIND_3_6_0~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6414ba16e6e2e9cfea97c14b2ca340551a67dd19;p=thirdparty%2Fvalgrind.git callgrind/main.c, finish(): 'Char buf[RESULTS_BUF_LEN]' can be overrun in some cases. Increase RESULTS_BUF_LEN accordingly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11392 --- diff --git a/callgrind/global.h b/callgrind/global.h index 706edec988..f83c39cede 100644 --- a/callgrind/global.h +++ b/callgrind/global.h @@ -120,7 +120,7 @@ struct _CommandLineOptions { #define OBJ_NAME_LEN 256 #define BUF_LEN 512 #define COMMIFY_BUF_LEN 128 -#define RESULTS_BUF_LEN 128 +#define RESULTS_BUF_LEN 256 #define LINE_BUF_LEN 64