mirror of https://github.com/GNOME/gimp.git
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:
parent
43360ede74
commit
97ded8c030
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue