[postgis-tickets] r14609 - #3436, memory handling mistake in ptarray_clone_deep
Paul Ramsey
pramsey at cleverelephant.ca
Tue Jan 19 09:07:26 PST 2016
Author: pramsey
Date: 2016-01-19 09:07:26 -0800 (Tue, 19 Jan 2016)
New Revision: 14609
Modified:
branches/2.2/NEWS
branches/2.2/liblwgeom/ptarray.c
Log:
#3436, memory handling mistake in ptarray_clone_deep
Modified: branches/2.2/NEWS
===================================================================
--- branches/2.2/NEWS 2016-01-19 17:07:10 UTC (rev 14608)
+++ branches/2.2/NEWS 2016-01-19 17:07:26 UTC (rev 14609)
@@ -6,6 +6,7 @@
- #3422, Improve ST_Split robustness on standard precision double
systems (arm64, ppc64el, s390c, powerpc, ...)
- #3427, Update spatial_ref_sys to EPSG version 8.8
+ - #3436, memory handling mistake in ptarray_clone_deep
PostGIS 2.2.1
2016/01/06
Modified: branches/2.2/liblwgeom/ptarray.c
===================================================================
--- branches/2.2/liblwgeom/ptarray.c 2016-01-19 17:07:10 UTC (rev 14608)
+++ branches/2.2/liblwgeom/ptarray.c 2016-01-19 17:07:26 UTC (rev 14609)
@@ -627,7 +627,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