[mapserver-commits] r7917 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Sep 22 13:53:20 EDT 2008
Author: Assefa
Date: 2008-09-22 13:53:19 -0400 (Mon, 22 Sep 2008)
New Revision: 7917
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapmssql2008.c
Log:
Correct allocation error in mapmssql2008.c (#2768)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2008-09-18 03:53:10 UTC (rev 7916)
+++ trunk/mapserver/HISTORY.TXT 2008-09-22 17:53:19 UTC (rev 7917)
@@ -12,6 +12,8 @@
Current Version (5.3-dev, SVN trunk):
------------------------------------
+- Correct allocation error in mapmssql2008.c
+
- Add possibility to use a full resolution setting for svg output (#1706)
- Fixed GetFeature through tileindex bug: the tileindex of the shape found
Modified: trunk/mapserver/mapmssql2008.c
===================================================================
--- trunk/mapserver/mapmssql2008.c 2008-09-18 03:53:10 UTC (rev 7916)
+++ trunk/mapserver/mapmssql2008.c 2008-09-22 17:53:19 UTC (rev 7917)
@@ -1285,7 +1285,7 @@
/* Set up to request the size of the buffer needed */
rc = SQLGetData(layerinfo->conn->hstmt, layer->numitems + 1, SQL_C_BINARY, dummyBuffer, 0, &needLen);
- /* allow space for coercion to geometry collection if needed
+ /* allow space for coercion to geometry collection if needed*/
wkbTemp = (char*)malloc(needLen+9);
/* write data above space allocated for geometry collection coercion */
More information about the mapserver-commits
mailing list