[postgis-tickets] [PostGIS] #2185: Second WKT parse crashes server
PostGIS
trac at osgeo.org
Wed Jan 23 15:02:13 PST 2013
#2185: Second WKT parse crashes server
---------------------+------------------------------------------------------
Reporter: mwtoews | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.3
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
Comment(by mwtoews):
Actually, this is a problem with ST_AsText, since the parse is robust:
{{{
postgis=# SELECT 'POINT(3 4 hi)'::geometry;
ERROR: parse error - invalid geometry
LINE 1: SELECT 'POINT(3 4 hi)'::geometry;
^
HINT: "POINT(3 4 hi" <-- parse error at position 12 within geometry
postgis=# SELECT 'POINT(3 4 hi)'::geometry;
ERROR: parse error - invalid geometry
LINE 1: SELECT 'POINT(3 4 hi)'::geometry;
^
HINT: "POINT(3 4 hi" <-- parse error at position 12 within geometry
postgis=# SELECT 'POINT(3 4 hi)'::geometry;
ERROR: parse error - invalid geometry
LINE 1: SELECT 'POINT(3 4 hi)'::geometry;
^
HINT: "POINT(3 4 hi" <-- parse error at position 12 within geometry
}}}
repeated, without crash.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2185#comment:1>
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