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

PostGIS trac at osgeo.org
Wed Jan 23 19:17:06 PST 2013


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

Comment(by robe):

 I just upgraded my 64-bit to 9.1.7


 {{{
 PostgreSQL 9.1.7, compiled by Visual C++ build 1500, 64-bit POSTGIS="2.0.1
 r9979" GEOS="3.3.5-CAPI-1.7.5" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL
 1.9.1, released 2012/05/15" LIBXML="2.7.8" LIBJSON="UNKNOWN" (core procs
 from "2.0.0 r9605" need upgrade) RASTER (raster procs from "2.0.0 r9605"
 need upgrade)
 }}}

 And:

 {{{
 SELECT ST_AsText('POINT(3 4 hi)');

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


 Behaves as expected.

 Unfortuantely I never downloaded 9.1.4 binaries, but I suspect 9.1.4 might
 ahve been a bad build since #2180 was running 9.1.4 and I'm not seeing the
 issue on 9.1.3 or 9.1.7.

 Mike -- can you confirm what OS and build of PostgreSQL you are running.
 If you are running 9.1.4 I'd like to close this out as an upstream
 (probably already fixed) issue.

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