#5318 closed defect (fixed)

ST_MaximumInscribedCircle crashes on polygon with infinity coordinates

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

Description

This is similar to the ST_Buffer case in #5315

SELECT ST_MaximumInscribedCircle(foo1.the_geom)  As result
FROM ((SELECT '0106000020E61000000100000001030000000100000005000000000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F'::geometry AS the_geom ) ) As foo1 ;

ST_MaximumInscribedCircle was introduced in PostGIS 3.1

Change History (7)

comment:1 by Regina Obe <lr@…>, 15 months ago

In 633cf97/git:

Prevent crash on infinite coordinates
for PostGIS 3.4
References #5319 ST_SetPoint
References #5315 ST_Buffer
References #5318 ST_MaximumnInscribedCircle

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

In a46840c/git:

Prevent crash on infinite coordinates
for PostGIS 3.3.3
References #5319 ST_SetPoint
References #5315 ST_Buffer
References #5318 ST_MaximumnInscribedCircle

comment:3 by Regina Obe <lr@…>, 15 months ago

In 0239850/git:

Prefilter to check for non-finite coordinates before feeding
ST_SimplifyPreserveTopology, ST_Buffer, ST_SetPoint,
ST_MinimumInscribedCircle
to avoid crash/hang.
References #5320
References #5315
References #5318
References #5319
for PostGIS 3.2.5

comment:4 by Regina Obe <lr@…>, 15 months ago

In 11335bb/git:

Prefilter to check for non-finite coordinates before feeding
ST_SimplifyPreserveTopology, ST_Buffer, ST_SetPoint,
ST_MinimumInscribedCircle
to avoid crash/hang.
References #5320
References #5315
References #5318
References #5319
for PostGIS 3.1.9

comment:5 by Regina Obe <lr@…>, 15 months ago

In 256dd5e/git:

Free lwgeom
References #5320, #5315, #5318
for PostGIS 3.4.0

comment:6 by Regina Obe <lr@…>, 15 months ago

In 6885b9d/git:

Free lwgeom
References #5320, #5315, #5318
for PostGIS 3.3.3

comment:7 by Regina Obe <lr@…>, 15 months ago

Resolution: fixed
Status: assignedclosed

In 7c5bf6f/git:

Free lwgeom
Closes #5320
Closes #5315
Closes #5318
for PostGIS 3.2.5

Note: See TracTickets for help on using tickets.