annotate change to avoid buffer overrun

svn: r8121
This commit is contained in:
Matthew Flatt 2007-12-25 12:59:50 +00:00
parent 944105f122
commit 36ca820232

View File

@ -283,7 +283,7 @@ static void pl_drawcontlabel(PLFLT tpx, PLFLT tpy, char *flabel, PLFLT *distance
static void plfloatlabel(PLFLT value, char *string) static void plfloatlabel(PLFLT value, char *string)
{ {
PLINT setpre, precis; PLINT setpre, precis;
char form[32], tmpstring[32]; char form[32], tmpstring[32]; /* PLTSCHEME: used to be size 10, which lead to a buffer overrun */
PLINT exponent = 0; PLINT exponent = 0;
PLFLT mant, tmp; PLFLT mant, tmp;