[mapserver-commits] r12543 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Sep 13 12:11:32 EDT 2011
Author: warmerdam
Date: 2011-09-13 09:11:32 -0700 (Tue, 13 Sep 2011)
New Revision: 12543
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapwcs.c
Log:
fix crash describing coverage when rangeset_axes contains value other than bands (#4006)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-09-13 02:05:28 UTC (rev 12542)
+++ trunk/mapserver/HISTORY.TXT 2011-09-13 16:11:32 UTC (rev 12543)
@@ -15,6 +15,8 @@
Current Version (SVN trunk, 6.1-dev, future 6.2):
-------------------------------------------------
+- WCS 1.0: Fix crash with some _rangeset_axes values (#4020)
+
- WCS 2.0: Adjusted offset vector and origin (#4006)
- Added addParameter() method to MapScript (#3973)
Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c 2011-09-13 02:05:28 UTC (rev 12542)
+++ trunk/mapserver/mapwcs.c 2011-09-13 16:11:32 UTC (rev 12543)
@@ -299,7 +299,7 @@
return;
value = strstr(value,"bands");
- if( value[5] != '\0' && value[5] != ' ' )
+ if( value == NULL || (value[5] != '\0' && value[5] != ' ') )
return;
/* Are there any w*s_bands_ metadata already? If so, skip out. */
More information about the mapserver-commits
mailing list