Added format string to dangerous fprintf() call without it, which directly

2007-06-04  Mukund Sivaraman  <muks@mukund.org>

        * app/vectors/gimpvectors-export.c: Added format string to dangerous 
        fprintf() call without it, which directly print variable data.  


svn path=/trunk/; revision=22704
This commit is contained in:
Mukund Sivaraman 2007-06-04 15:19:32 +00:00 committed by Mukund Sivaraman
parent c73768da07
commit 5fe7f79072
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-04 Mukund Sivaraman <muks@mukund.org>
* app/vectors/gimpvectors-export.c: Added format string to dangerous
fprintf() call without it, which directly print variable data.
2007-06-04 Sven Neumann <sven@gimp.org> 2007-06-04 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolorscale.c (gimp_color_scale_expose): pass * libgimpwidgets/gimpcolorscale.c (gimp_color_scale_expose): pass

View File

@ -87,7 +87,7 @@ gimp_vectors_export_file (const GimpImage *image,
str = gimp_vectors_export (image, vectors); str = gimp_vectors_export (image, vectors);
fprintf (file, str->str); fprintf (file, "%s", str->str);
g_string_free (str, TRUE); g_string_free (str, TRUE);