[mapserver-commits] r8491 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Feb 3 16:27:07 EST 2009


Author: assefa
Date: 2009-02-03 16:27:07 -0500 (Tue, 03 Feb 2009)
New Revision: 8491

Modified:
   trunk/mapserver/maperror.c
Log:
fix uninitialized variable #2874

Modified: trunk/mapserver/maperror.c
===================================================================
--- trunk/mapserver/maperror.c	2009-02-03 21:25:33 UTC (rev 8490)
+++ trunk/mapserver/maperror.c	2009-02-03 21:27:07 UTC (rev 8491)
@@ -472,6 +472,7 @@
     msSaveImageGD(img, filename, format);
   else
   {
+      pFormatBuffer = format->driver;
       strcpy(cGDFormat, "gd/");
       strcat(cGDFormat, &(format->driver[4]));
       format->driver = &cGDFormat[0];



More information about the mapserver-commits mailing list