17 64bit values fit into 512 bytes (but not 256...).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11393
* print_fn_pos, fprint_apos, fprint_fcost, fprint_jcc,
* fprint_fcc_ln, dump_run_info, dump_state_info
*/
-static Char outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN];
+static Char outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN];
Int CLG_(get_dump_counter)(void)
{
#define FILENAME_LEN 256
#define FN_NAME_LEN 4096 /* for C++ code :-) */
#define OBJ_NAME_LEN 256
+#define COSTS_LEN 512 /* at least 17x 64bit values */
#define BUF_LEN 512
#define COMMIFY_BUF_LEN 128
#define RESULTS_BUF_LEN 256
static
void finish(void)
{
- Char buf[RESULTS_BUF_LEN], fmt[128];
+ Char buf[32+COSTS_LEN], fmt[128];
Int l1, l2, l3;
FullCost total;