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

Paul Ramsey pramsey at cleverelephant.ca
Mon Oct 3 13:20:34 PDT 2016


Author: pramsey
Date: 2016-10-03 13:20:34 -0700 (Mon, 03 Oct 2016)
New Revision: 15167

Modified:
   branches/2.2/NEWS
   branches/2.2/liblwgeom/lwstroke.c
Log:
#3652, crash on collection(multicurve(curve))


Modified: branches/2.2/NEWS
===================================================================
--- branches/2.2/NEWS	2016-10-03 13:49:55 UTC (rev 15166)
+++ branches/2.2/NEWS	2016-10-03 20:20:34 UTC (rev 15167)
@@ -28,11 +28,12 @@
            perl @INC fix (Sebastiaan Couwenberg)
   - #3627, Encoded polyline functions ignore precision parameter
            (Christian Quest / Dan Baston)
-  - #3501 use ST_Union instead of ST_Collect to compute 
+  - #3501, use ST_Union instead of ST_Collect to compute 
           raster max extent constraint
-  - #3640, interpolate_from_address sometimes results in "" invalid for numeric
-  - #3641 tiger normalize, pagc_normalize integer out of range
-  - #3644 Deadlock on interrupt
+  - #3640, Interpolate_from_address sometimes results in "" invalid for numeric
+  - #3641, Tiger normalize, pagc_normalize integer out of range
+  - #3644, Deadlock on interrupt
+  - #3542, Crash on Geometry(MultiCurve())
   - Numerous documentation corrections from ruvyn
 
 

Modified: branches/2.2/liblwgeom/lwstroke.c
===================================================================
--- branches/2.2/liblwgeom/lwstroke.c	2016-10-03 13:49:55 UTC (rev 15166)
+++ branches/2.2/liblwgeom/lwstroke.c	2016-10-03 20:20:34 UTC (rev 15167)
@@ -428,6 +428,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