[postgis-tickets] r15168 - #3652, Crash on collection(multicurve())

Paul Ramsey pramsey at cleverelephant.ca
Mon Oct 3 13:21:43 PDT 2016


Author: pramsey
Date: 2016-10-03 13:21:43 -0700 (Mon, 03 Oct 2016)
New Revision: 15168

Modified:
   branches/2.3/NEWS
   branches/2.3/liblwgeom/lwstroke.c
Log:
#3652, Crash on collection(multicurve())


Modified: branches/2.3/NEWS
===================================================================
--- branches/2.3/NEWS	2016-10-03 20:20:34 UTC (rev 15167)
+++ branches/2.3/NEWS	2016-10-03 20:21:43 UTC (rev 15168)
@@ -2,8 +2,9 @@
 2016/xx/xx
 
   * Bug Fixes
-  - #3643 PostGIS not building on latest OSX XCode
-  - #3644 Deadlock on interrupt
+  - #3643, PostGIS not building on latest OSX XCode
+  - #3644, Deadlock on interrupt
+  - #3652, Crash on Collection(MultiCurve())
 
 PostGIS 2.3.0
 2016/09/26

Modified: branches/2.3/liblwgeom/lwstroke.c
===================================================================
--- branches/2.3/liblwgeom/lwstroke.c	2016-10-03 20:20:34 UTC (rev 15167)
+++ branches/2.3/liblwgeom/lwstroke.c	2016-10-03 20:21:43 UTC (rev 15168)
@@ -442,6 +442,8 @@
 		case CURVEPOLYTYPE:
 			geoms[i] = (LWGEOM *)lwcurvepoly_stroke((LWCURVEPOLY *)tmp, perQuad);
 			break;
+		case MULTICURVETYPE:
+		case MULTISURFACETYPE:
 		case COLLECTIONTYPE:
 			geoms[i] = (LWGEOM *)lwcollection_stroke((LWCOLLECTION *)tmp, perQuad);
 			break;



More information about the postgis-tickets mailing list