[postgis-tickets] [PostGIS] #2185: Geometry output functions crash server with invalid WKT

PostGIS trac at osgeo.org
Mon May 20 07:45:43 PDT 2013


#2185: Geometry output functions crash server with invalid WKT
----------------------+-----------------------------------------------------
  Reporter:  mwtoews  |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  blocker  |   Milestone:  PostGIS 2.0.4
 Component:  postgis  |     Version:  2.0.x        
Resolution:  fixed    |    Keywords:  windows 64   
----------------------+-----------------------------------------------------

Comment(by dustymugs):

 So strange. ereport(ERROR, ...) is not supposed to return to the calling
 function so PG_RETURN_NULL() shouldn't be needed.  But adding
 PG_RETURN_NULL() prevents the issue. Strange...

 http://doxygen.postgresql.org/elog_8h_source.html#l00084

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2185#comment:37>
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