]> granicus.if.org Git - postgis/commitdiff
#3652, crash on collection(multicurve())
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 3 Oct 2016 20:22:15 +0000 (20:22 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 3 Oct 2016 20:22:15 +0000 (20:22 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15169 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwstroke.c

index 924322b334a86f6e4c4c604a7ea27500750634e2..a6af62cde567f6485c839a3b4906869c644b16e1 100644 (file)
@@ -442,6 +442,8 @@ lwcollection_stroke(const LWCOLLECTION *collection, uint32_t perQuad)
                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;