[mapserver-commits] r8002 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Oct 28 13:54:45 EDT 2008


Author: tomkralidis
Date: 2008-10-28 13:54:45 -0400 (Tue, 28 Oct 2008)
New Revision: 8002

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapogcfilter.c
Log:
increase array size (code was assigning to out of bounds subscript)


Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2008-10-25 10:12:04 UTC (rev 8001)
+++ trunk/mapserver/HISTORY.TXT	2008-10-28 17:54:45 UTC (rev 8002)
@@ -12,6 +12,9 @@
 Current Version (5.3-dev, SVN trunk):
 ------------------------------------
 
+- mapogcfilter.c: increase array size (code was assigning to out
+  of bounds subscript)
+
 - MapScript: Added getBinding method to label and style object (#2670)
 
 - mapowscommon.c: use strcasecmp to check for language value

Modified: trunk/mapserver/mapogcfilter.c
===================================================================
--- trunk/mapserver/mapogcfilter.c	2008-10-25 10:12:04 UTC (rev 8001)
+++ trunk/mapserver/mapogcfilter.c	2008-10-28 17:54:45 UTC (rev 8002)
@@ -3617,7 +3617,7 @@
     char *pszWild = NULL;
     char *pszSingle = NULL;
     char *pszEscape = NULL;
-    char szTmp[3];
+    char szTmp[4];
 
     int nLength=0, i=0, iBuffer = 0;
     int  bCaseInsensitive = 0;



More information about the mapserver-commits mailing list