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

PostGIS trac at osgeo.org
Mon May 20 21:50:28 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 robe):

 Might be easier to debug the ereport one: Note: I put PG_RETURN_NULL(); in
 two spots in r11481.

 The first spot was to prevent ST_AsText('') from crashing and that one
 doesn't even go thru the parser -- just uses ereport.  A lot of the
 crashes I've been seeing so far usually occur when an ereport(ERROR) is
 done and as you said in theory no return should need to be made.

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