Opened 2 years ago

Closed 2 years ago

#5151 closed defect (fixed)

garden crash ST_SetPoint with empty geometries

Reported by: robe Owned by: robe
Priority: blocker Milestone: PostGIS 2.5.7
Component: postgis Version: 3.2.x
Keywords: Cc:

Description

In light of #5145 I have revised garden test to also check individual empties.

And that made it crash on this: Below is a more minimalist query

SELECT ST_SetPoint(ST_GeomFromText('LINESTRING EMPTY',4326), 1, ST_GeomFromText('POINT(40 50)',4326)) As result;

I'm going to commit my garden test changes once I have cataloged all of these and then will expect all our ci bots doing garden tests to crash horribly.

Change History (6)

comment:1 by robe, 2 years ago

Owner: changed from pramsey to robe

comment:2 by Regina Obe <lr@…>, 2 years ago

In 6febe57/git:

Return error on ST_SetPoint emtpy linestring.
References #5151 for PostGIS 3.3.0
Have berrie stop on any error

comment:3 by Regina Obe <lr@…>, 2 years ago

In b6e0fb9/git:

Return error on ST_SetPoint emtpy linestring
References #5151 for PostGIS 3.2.2

comment:4 by Regina Obe <lr@…>, 2 years ago

In c14e9a0/git:

Return error on ST_SetPoint emtpy linestring.
References #5151 for PostGIS 3.1.6

comment:5 by Regina Obe <lr@…>, 2 years ago

In fdd03bc/git:

garden crash ST_SetPoint with empty geometries
References #5151 for PostGIS 2.5.7

comment:6 by Regina Obe <lr@…>, 2 years ago

Resolution: fixed
Status: newclosed

In e7dae9e/git:

crash on ST_SetPoint with empty geoms. Closes #5151 for PostGIS 3.0.6

Note: See TracTickets for help on using tickets.