[postgis-tickets] r15169 - #3652, crash on collection(multicurve())

Paul Ramsey pramsey at cleverelephant.ca
Mon Oct 3 13:22:15 PDT 2016


Author: pramsey
Date: 2016-10-03 13:22:15 -0700 (Mon, 03 Oct 2016)
New Revision: 15169

Modified:
   trunk/liblwgeom/lwstroke.c
Log:
#3652, crash on collection(multicurve())


Modified: trunk/liblwgeom/lwstroke.c
===================================================================
--- trunk/liblwgeom/lwstroke.c	2016-10-03 20:21:43 UTC (rev 15168)
+++ trunk/liblwgeom/lwstroke.c	2016-10-03 20:22:15 UTC (rev 15169)
@@ -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