[Git][debian-gis-team/mapserver][upstream] New upstream version 7.6.0~rc2
Bas Couwenberg
gitlab at salsa.debian.org
Sat Apr 11 06:00:53 BST 2020
Bas Couwenberg pushed to branch upstream at Debian GIS Project / mapserver
Commits:
506b266e by Bas Couwenberg at 2020-04-11T06:43:23+02:00
New upstream version 7.6.0~rc2
- - - - -
3 changed files:
- CMakeLists.txt
- HISTORY.TXT
- mapgeos.c
Changes:
=====================================
CMakeLists.txt
=====================================
@@ -18,7 +18,7 @@ include(CheckCSourceCompiles)
set (MapServer_VERSION_MAJOR 7)
set (MapServer_VERSION_MINOR 6)
set (MapServer_VERSION_REVISION 0)
-set (MapServer_VERSION_SUFFIX "-rc1")
+set (MapServer_VERSION_SUFFIX "-rc2")
# Set C++ version
# Make CMAKE_CXX_STANDARD available as cache option overridable by user
=====================================
HISTORY.TXT
=====================================
@@ -12,6 +12,11 @@ For a complete change history, please see the Git log comments. For more
details about recent point releases, please see the online changelog at:
http://mapserver.org/development/changelog/
+7.6.0-rc2 release (2020-04-10)
+------------------------------
+
+- Fix memory corruption in msGEOSGetCentroid (#6041)
+
7.6.0-rc1 release (2020-04-05)
------------------------------
=====================================
mapgeos.c
=====================================
@@ -943,6 +943,7 @@ pointObj *msGEOSGetCentroid(shapeObj *shape)
if(!g1) return NULL;
g2 = GEOSGetCentroid_r(handle,g1);
+ if (!g2) return NULL;
point = (pointObj *) malloc(sizeof(pointObj));
@@ -952,7 +953,7 @@ pointObj *msGEOSGetCentroid(shapeObj *shape)
GEOSCoordSeq_getY_r(handle,coords, 0, &(point->y));
/* GEOSCoordSeq_getZ(coords, 0, &(point->z)); */
- GEOSCoordSeq_destroy_r(handle,coords);
+ GEOSGeom_destroy_r(handle, g2);
return point;
#else
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapserver/-/commit/506b266e6e4114ad65c5dc9615b8b045ca688ca6
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapserver/-/commit/506b266e6e4114ad65c5dc9615b8b045ca688ca6
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200411/23dd8ede/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list