fix buffer overrun in contour plotting

svn: r8120
This commit is contained in:
Matthew Flatt 2007-12-25 12:57:42 +00:00
parent a9f140e118
commit 944105f122

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)
{
PLINT setpre, precis;
char form[10], tmpstring[10];
char form[32], tmpstring[32];
PLINT exponent = 0;
PLFLT mant, tmp;