[postgis-tickets] [PostGIS] #3461: ST_GeomFromKML crashes Postgres when there are innerBoundaryIs and no outerBoundaryIs

PostGIS trac at osgeo.org
Mon Feb 22 04:44:33 PST 2016


#3461: ST_GeomFromKML crashes Postgres when there are innerBoundaryIs and no
outerBoundaryIs
-------------------------+---------------------------
 Reporter:  mikksooneep  |      Owner:  pramsey
     Type:  defect       |     Status:  new
 Priority:  medium       |  Milestone:  PostGIS 2.2.2
Component:  postgis      |    Version:  2.2.x
 Keywords:               |
-------------------------+---------------------------
 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>')
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3461>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list