[postgis-tickets] r14608 - #3436, memory handling mistake in ptarray_clone_deep
Paul Ramsey
pramsey at cleverelephant.ca
Tue Jan 19 09:07:10 PST 2016
Author: pramsey
Date: 2016-01-19 09:07:10 -0800 (Tue, 19 Jan 2016)
New Revision: 14608
Modified:
branches/2.1/NEWS
branches/2.1/liblwgeom/ptarray.c
Log:
#3436, memory handling mistake in ptarray_clone_deep
Modified: branches/2.1/NEWS
===================================================================
--- branches/2.1/NEWS 2016-01-19 17:06:17 UTC (rev 14607)
+++ branches/2.1/NEWS 2016-01-19 17:07:10 UTC (rev 14608)
@@ -22,6 +22,7 @@
of multiple topologies
- #3389, Buffer overflow in lwgeom_to_geojson
- #3393, ST_Area NaN for some polygons
+ - #3436, memory handling mistake in ptarray_clone_deep
PostGIS 2.1.8
2015/07/07
Modified: branches/2.1/liblwgeom/ptarray.c
===================================================================
--- branches/2.1/liblwgeom/ptarray.c 2016-01-19 17:06:17 UTC (rev 14607)
+++ branches/2.1/liblwgeom/ptarray.c 2016-01-19 17:07:10 UTC (rev 14608)
@@ -625,7 +625,7 @@
out->flags = in->flags;
out->npoints = in->npoints;
- out->maxpoints = in->maxpoints;
+ out->maxpoints = in->npoints;
FLAGS_SET_READONLY(out->flags, 0);
More information about the postgis-tickets
mailing list