|
From: Madhu M. K. <mm...@ya...> - 2005-05-24 09:41:30
|
The loop below can overrun this array. --- valgrind.orig/massif/hp2ps/HpFile.c 2005-05-21 00:32:00.000000000 -0700 +++ valgrind/massif/hp2ps/HpFile.c 2005-05-24 01:54:38.150655395 -0700 @@ -340,7 +340,7 @@ * "thefloatish"). */ -static char numberstring[ NUMBER_LENGTH - 1 ]; +static char numberstring[ NUMBER_LENGTH ]; token GetNumber(infp) Cheerio, M Madhu M Kurup /* Nemo Me Impune Lacessit */ mmk at yahoo-inc dt com |
|
From: Nicholas N. <nj...@cs...> - 2005-05-25 21:26:53
|
On Tue, 24 May 2005, Madhu M. Kurup wrote: > The loop below can overrun this array. > > -static char numberstring[ NUMBER_LENGTH - 1 ]; > +static char numberstring[ NUMBER_LENGTH ]; Committed, thanks. N |