From 36ca82023236e4293db5b3aad5ca31861dea8ee9 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 25 Dec 2007 12:59:50 +0000 Subject: [PATCH] annotate change to avoid buffer overrun svn: r8121 --- collects/plot/src/all/plcont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collects/plot/src/all/plcont.c b/collects/plot/src/all/plcont.c index 991682fc6e..d94d2da2d7 100644 --- a/collects/plot/src/all/plcont.c +++ b/collects/plot/src/all/plcont.c @@ -283,7 +283,7 @@ static void pl_drawcontlabel(PLFLT tpx, PLFLT tpy, char *flabel, PLFLT *distance static void plfloatlabel(PLFLT value, char *string) { 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; PLFLT mant, tmp;