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

PostGIS trac at osgeo.org
Sun May 19 22:21:12 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 robe):

 Went ahead and committed to 2.0 branch at r11481 .  I can't trigger these
 in my 2.0 anymore and it fixed two of the failing regress scripts (now
 like 5 more to go I think).

 I'm going to revert my change in 2.1 and replace with this one if debbie
 seemscontent with the changes.

 I don't seem to loose the hint -- here is what I get now on my 9.2 edb x64
 PostGIS 2.0.4 SVN

 {{{
 SELECT ST_AsText('POINT Z(3 4 i)');

 ERROR:  parse error - invalid geometry
 HINT:  "POINT Z(3 4 i)" <-- parse error at position 14 within geometry
 CONTEXT:  SQL function "st_astext" statement 1
 }}}


 and I can now run as many times as I want without it crashing the service
 :)

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