[postgis-tickets] [PostGIS] #2185: Geometry output functions crash server with invalid WKT
PostGIS
trac at osgeo.org
Sun May 19 08:57:47 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):
I think this is a similar issue as I fixed in #2332. The fundamental
problem is with the geometry(TEXT) (which has underlying c function:
parse_WKT_lwgeom )
http://postgis.net/docs/doxygen/2.1/d9/d6e/lwgeom__inout_8c_a1b3eab5b08e6e0ccec4b8a2889e6bb8c.html#a1b3eab5b08e6e0ccec4b8a2889e6bb8c
which does a similar call to yet another PG function.
Repeating all that code is too much and why it even bothers when it does
nothing but pass along the result is beyond me. I'm sure there's a whole
bunch of leaky memory in here corrupting shared memory which 9.2 EDB
64-bit is especially sensitive too.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2185#comment:28>
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