[mapserver-commits] r9863 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Feb 22 15:10:14 EST 2010


Author: jimk
Date: 2010-02-22 15:10:12 -0500 (Mon, 22 Feb 2010)
New Revision: 9863

Modified:
   trunk/mapserver/maporaclespatial.c
Log:
Check for errors in msOGCWKT2ProjectionObj

Modified: trunk/mapserver/maporaclespatial.c
===================================================================
--- trunk/mapserver/maporaclespatial.c	2010-02-22 19:40:30 UTC (rev 9862)
+++ trunk/mapserver/maporaclespatial.c	2010-02-22 20:10:12 UTC (rev 9863)
@@ -2534,7 +2534,8 @@
                msDebug("Found WKT projection for table %s: %s\n", table_name, wktext);
 
            if(wktext != NULL && projection != NULL)
-               msOGCWKT2ProjectionObj(wktext, projection, layer->debug);
+               if(msOGCWKT2ProjectionObj(wktext, projection, layer->debug) == MS_FAILURE)
+                   return(MS_FAILURE);
        }
     } while (sthand->rows_fetched > 0);
 



More information about the mapserver-commits mailing list