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

PostGIS trac at osgeo.org
Sun May 19 22:15:40 PDT 2013


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

Comment(by dustymugs):

 PG_PARSER_ERROR does exit the function so PG_RETURN_NULL() would be
 adequate.  BUT, you'd lose the following...

 {{{
 HINT:  "POINT Z(3 4 hi" <-- parse error at position 14 within geometry
 }}}

 So, we'll need to debug pg_parser_errhint() found in
 libpgcommon/lwgeom_pg.c.

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