[postgis-tickets] [PostGIS] #2298: ST_AsGML geography crashable with monkey inputs

PostGIS trac at osgeo.org
Tue May 7 11:58:29 PDT 2013


#2298: ST_AsGML geography crashable with monkey  inputs
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  colivier     
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 Huh, shorter stacktrace than I expected
 {{{

 Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
 0x0000000100e8cd1e in geography_as_gml (fcinfo=0x101123d00) at
 geography_inout.c:271
 271                     if ( VARSIZE(id_text)-VARHDRSZ == 0 )
 (gdb) bt
 #0  0x0000000100e8cd1e in geography_as_gml (fcinfo=0x101123d00) at
 geography_inout.c:271
 #1  0x00000001001d5349 in ExecMakeFunctionResult (fcache=0x101123c90,
 econtext=0x101123a68, isNull=0x1011248b8 "", isDone=0x1011249f8) at
 execQual.c:1927

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2298#comment:3>
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-tickets mailing list