Opened 9 years ago
Closed 9 years ago
#3461 closed defect (fixed)
ST_GeomFromKML crashes Postgres when there are innerBoundaryIs and no outerBoundaryIs
Reported by: | mikksooneep | Owned by: | pramsey |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 2.2.2 |
Component: | postgis | Version: | 2.2.x |
Keywords: | Cc: |
Description
This bug is always reproducible.
POSTGIS="2.2.1 r14555" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.10.1, released 2013/08/26" LIBXML="2.9.1" LIBJSON="0.11.99" RASTER
SELECT ST_GeomFromKML('<Polygon> <innerBoundaryIs> <LinearRing> <coordinates>15.4314185364794,47.07424936394101,0 15.4319999913023,47.0745907424833,0 15.4304554154307,47.0762201181668,0 15.4297898819917,47.0762268569417,0 15.4290787803951,47.0767510408816,0 15.428814076225,47.07705890737439,0 15.4283323302523,47.0781601391252,0 15.4280670755831,47.0781119179139,0 15.428345820955,47.0773709566434,0 15.428377720989,47.0769281206226,0 15.4287760037479,47.0764644755462,0 15.429245707349,47.07569497547091,0 15.4314185364794,47.07424936394101,0</coordinates> </LinearRing> </innerBoundaryIs> </Polygon>')
Note:
See TracTickets
for help on using tickets.
Crashes for me too even against 2.3.0 dev using 3.5.0