|
From: <sv...@va...> - 2010-10-03 12:35:12
|
Author: sewardj Date: 2010-10-03 13:35:03 +0100 (Sun, 03 Oct 2010) New Revision: 11392 Log: callgrind/main.c, finish(): 'Char buf[RESULTS_BUF_LEN]' can be overrun in some cases. Increase RESULTS_BUF_LEN accordingly. Modified: trunk/callgrind/global.h Modified: trunk/callgrind/global.h =================================================================== --- trunk/callgrind/global.h 2010-09-30 15:11:01 UTC (rev 11391) +++ trunk/callgrind/global.h 2010-10-03 12:35:03 UTC (rev 11392) @@ -120,7 +120,7 @@ #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 |