Opened 9 years ago

Last modified 9 years ago

#3254 closed defect

ST_SubDivide garden crash, not empty safe — at Version 2

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 (2)

comment:1 by robe, 9 years ago

Description: modified (diff)

comment:2 by robe, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.