[postgis-tickets] [PostGIS] #5350: ST_AsSVG crashes on geometry collection with an empty point

PostGIS trac at osgeo.org
Mon Feb 27 21:33:41 PST 2023


#5350: ST_AsSVG crashes on geometry collection with an empty point
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 3.0.9
Component:  postgis  |    Version:  3.3.x
 Keywords:           |
---------------------+---------------------------
 {{{
   SELECT  ST_AsSVG(ST_GeomFromText('GEOMETRYCOLLECTION (POINT EMPTY,
 LINESTRING (0 0, 1 1))',4326), 3, 5 )
 }}}

 Inspired by https://github.com/libgeos/geos/pull/831

 I stuffed that nasty geometry into the garden grinder and it crashed
 ST_ASSVG
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5350>
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