[postgis-devel] [PostGIS] #672: Valid WKT crashes postgis parser

PostGIS trac at osgeo.org
Thu Dec 9 10:21:14 PST 2010


#672: Valid WKT crashes postgis parser
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 1.5.3
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by pramsey):

  * milestone:  PostGIS 2.0.0 => PostGIS 1.5.3


Comment:

 Not my parser...
 {{{
 postgis20=# select '
 postgis20'# GEOMETRYCOLLECTION (
 postgis20'#         GEOMETRYCOLLECTION (EMPTY),
 postgis20'#         GEOMETRYCOLLECTION( EMPTY)
 postgis20'# )
 postgis20'# '::geometry;
 ERROR:  parse error - invalid geometry
 LINE 1: select '
                ^
 HINT:  "...N (
         GEOMETRYCOLLECTION (EMPTY" <-- parse error at position 55 within
 geometry
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/672#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-devel mailing list