[postgis-tickets] [PostGIS] #5240: ST_DumpPoints and ST_DumpSegments crash with multipolygon that includes an empty polygon (was: ST_DumpPoints crash with multipolygon that includes an empty polygon)
PostGIS
trac at osgeo.org
Thu Sep 15 21:22:41 PDT 2022
#5240: ST_DumpPoints and ST_DumpSegments crash with multipolygon that includes an
empty polygon
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.0.8
Component: postgis | Version: 3.2.x
Resolution: | Keywords:
----------------------+---------------------------
Changes (by robe):
* summary: ST_DumpPoints crash with multipolygon that includes an empty
polygon =>
ST_DumpPoints and ST_DumpSegments crash with multipolygon that
includes an empty polygon
* milestone: PostGIS 3.2.4 => PostGIS 3.0.8
Old description:
> {{{
> SELECT ST_DumpPoints(foo1.the_geom) As result
> FROM (
> SELECT ST_GeomFromText('MULTIPOLYGON (((9 9, 9 1,
> 1 1, 2 4, 7 7, 9 9)), EMPTY)', 4326) As the_geom ) As foo1;
> }}}
>
> This I tested on 3.2.4dev, but haven't tested others to see how far back
> is the issue.
New description:
{{{
SELECT ST_DumpPoints(foo1.the_geom) As result
FROM (
SELECT ST_GeomFromText('MULTIPOLYGON (((9 9, 9 1,
1 1, 2 4, 7 7, 9 9)), EMPTY)', 4326) As the_geom ) As foo1;
}}}
This I tested on 3.2.4dev, but haven't tested others to see how far back
is the issue.
--
Comment:
{{{
SELECT ST_DumpSegments(foo1.the_geom) As result
FROM (
(SELECT ST_GeomFromText('MULTIPOLYGON (((9 9, 9 1, 1 1, 2
4, 7 7, 9 9)), EMPTY)', 4326) As the_geom ) ) As foo1 LIMIT 10;
}}}
I'm going to assume these issues have been here for a while.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5240#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