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

PostGIS trac at osgeo.org
Tue Mar 7 19:30:35 PST 2023


#5350: ST_AsSVG crashes on geometry collection with an empty point
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.0.9
 Component:  postgis  |    Version:  3.3.x
Resolution:           |   Keywords:
----------------------+---------------------------
Changes (by robe):

 * owner:  pramsey => robe


Old description:

> {{{
>   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

New description:

 {{{
   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#comment:1>
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