[postgis-devel] [PostGIS] #1697: Crash in GiST index with empty MultiPolygons

PostGIS trac at osgeo.org
Wed Mar 28 01:09:51 PDT 2012


#1697: Crash in GiST index with empty MultiPolygons
---------------------------+------------------------------------------------
 Reporter:  realityexists  |       Owner:  pramsey      
     Type:  defect         |      Status:  new          
 Priority:  critical       |   Milestone:  PostGIS 2.0.0
Component:  postgis        |     Version:  trunk        
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by strk):

 Tested, nice!
 Looking forward to see the 2D index fixed too, so I can do:
 explain select st_asewkt(g) from test where g ~= 'POINT EMPTY'::geometry;

 And get all empty (or otherwise infinite) elements in the table!

 More on the memset: is it needed at all ?
 I see all uses of bbox_out protected by gidx_set_unknown already. Sounds
 enough.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1697#comment:19>
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-devel mailing list