Don't write to an uninitialized pointer (end).

2007-05-31  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/spheredesigner.c: Don't write to an uninitialized  
        pointer (end).


svn path=/trunk/; revision=22681
This commit is contained in:
Mukund Sivaraman 2007-05-31 10:15:06 +00:00 committed by Mukund Sivaraman
parent 43360ede74
commit 97ded8c030
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/spheredesigner.c: Don't write to an uninitialized
pointer (end).
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Specify maximum field width in

View File

@ -1997,7 +1997,8 @@ static void
loadit (const gchar * fn)
{
FILE *f;
gchar *end;
gchar endbuf[21 * (G_ASCII_DTOSTR_BUF_SIZE + 1)];
gchar *end = endbuf;
gchar line[1024];
gint i;
texture *t;