[postgis-devel] [PostGIS] #417: crash in parser
PostGIS
trac at osgeo.org
Mon Mar 8 16:18:37 PST 2010
#417: crash in parser
----------------------+-----------------------------------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 1.5.1
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by pramsey):
Fun, this looks like something I was just thinking about while writing a
new WKB reader: what if the user feeds in WKB that doesn't match the
contents of the memory segment? (Like claiming there are 5 coordinates
when there are 0. You can then get the reader to walk merrily off the end
of the memory segment.) Fixing this in the current parser looks very
unpleasant. It is the unpleasantness of the current parse/unparse code
that is actually driving me to write new ones, in fact.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/417#comment:6>
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