[postgis-devel] [PostGIS] #1697: Crash in GiST index with empty MultiPolygons
PostGIS
trac at osgeo.org
Tue Mar 27 02:00:18 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):
Sounds useful:
NOTICE: [gserialized_gist_nd.c:gidx_copy:89] copying gidx
(0x7f8d276adfa0) of size 964952070 to gidx (0x7f8cec988048)
Aren't we returning memory allocated in a local variable, btw ???!!!
{{{
char gidxmem[GIDX_MAX_SIZE];
GIDX *bbox_out = (GIDX*)gidxmem;
}}}
You can't safely return bbox_out then
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1697#comment:12>
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