[postgis-devel] [PostGIS] #1658: Crash in ST_Project on NULL input

PostGIS trac at osgeo.org
Tue Mar 6 21:16:55 PST 2012


#1658: Crash in ST_Project on NULL input
---------------------------+------------------------------------------------
 Reporter:  realityexists  |       Owner:  pramsey      
     Type:  defect         |      Status:  new          
 Priority:  critical       |   Milestone:  PostGIS 2.0.0
Component:  postgis        |     Version:  trunk        
 Keywords:                 |  
---------------------------+------------------------------------------------
 Rev 9402. Running
 {{{
     SELECT ST_Project(NULL, NULL, NULL)
 }}}

 Causes the backend to crash with an access violation/segmentation fault.
 Happens on both Linux and Windows.

 {{{
 #0  pg_detoast_datum (datum=0x0) at fmgr.c:2233
 #1  0x0051d0d6 in geography_project (fcinfo=0x99b76a4) at
 geography_measurement.c:615
 #2  0x081b6cf8 in ExecMakeFunctionResultNoSets (fcache=0x99b7668,
 econtext=0x9952060,
     isNull=0xbf8c033f "", isDone=0x0) at execQual.c:1890
 ...
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1658>
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