Opened 9 years ago

Closed 9 years ago

#3254 closed defect (fixed)

ST_SubDivide garden crash, not empty safe

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by robe)

SELECT ST_Subdivide(ST_GeomFromText('POINT EMPTY',4326),3);

Crash.

this is the full garden test

SELECT ST_Subdivide(foo1.the_geom, 3) As result
  FROM ((SELECT ST_GeomFromText('POINT EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('MULTIPOINT EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('MULTIPOLYGON EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('LINESTRING EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('MULTILINESTRING EMPTY',4326) As the_geom ) ) As foo1 LIMIT 3;

Change History (3)

comment:1 by robe, 9 years ago

Description: modified (diff)

comment:2 by robe, 9 years ago

Description: modified (diff)

comment:3 by pramsey, 9 years ago

Resolution: fixed
Status: newclosed

Fixed at r13969

Note: See TracTickets for help on using tickets.