annotate change to avoid buffer overrun
svn: r8121
This commit is contained in:
parent
944105f122
commit
36ca820232
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user