[PostGIS] #5922: TopoGeo_AddLineString crash on empty

PostGIS trac at osgeo.org
Thu Jun 5 00:44:53 PDT 2025


#5922: TopoGeo_AddLineString crash on empty
-----------------------+----------------------------
  Reporter:  robe      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:  PostGIS 3.0.12
 Component:  topology  |    Version:  3.0.x
Resolution:            |   Keywords:
-----------------------+----------------------------
Changes (by strk):

 * milestone:  PostGIS 3.5.4 => PostGIS 3.0.12
 * version:  3.4.x => 3.0.x


Old description:

> {{{
> SELECT CreateTopology('test', 4326);
> SELECT TopoGeo_AddLineString('test', ST_GeomFromText('LINESTRING
> EMPTY',4326), 20.1);
> }}}
>
> Not sure how far back you want to patch this, I didn't check 3.5 and
> below

New description:

 {{{
 SELECT CreateTopology('test', 4326);
 SELECT TopoGeo_AddLineString('test', ST_GeomFromText('LINESTRING
 EMPTY',4326), 20.1);
 }}}

 Not sure how far back you want to patch this, I didn't check 3.5 and below

--
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5922#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