[PostGIS] #5627: Empty crashes ST_Intersects
PostGIS
trac at osgeo.org
Thu Nov 30 14:01:43 PST 2023
#5627: Empty crashes ST_Intersects
-----------------------+----------------------------
Reporter: wenjing | Owner: pramsey
Type: defect | Status: new
Priority: critical | Milestone: PostGIS 3.0.11
Component: postgis | Version: 3.4.x
Resolution: | Keywords:
-----------------------+----------------------------
Comment (by pramsey):
Simpler reproducer. It is certainly the cache calculation.
{{{
WITH geoms AS (
SELECT unnest(ARRAY[
'MULTIPOLYGON(((-357 477,-392 574,-378 574,-357 477)))'::geometry,
'MULTIPOLYGON(((-357 477,-392 574,-378 574,-357 477)))'::geometry
]) AS geom
)
SELECT ST_Intersects(
'MULTIPOINT(EMPTY,(-378 574))'::geometry,
geom)
FROM geoms;
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5627#comment:4>
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