[geos-devel] [GEOS] #830: Possible memory leak in WKTReader with partial MULTIPOLYGON
GEOS
geos-trac at osgeo.org
Wed Apr 12 14:26:37 PDT 2017
#830: Possible memory leak in WKTReader with partial MULTIPOLYGON
-------------------------+---------------------------
Reporter: goatbar | Owner: geos-devel@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: Default | Version: 3.5.0
Severity: Unassigned | Resolution:
Keywords: wkt fuzzing |
-------------------------+---------------------------
Comment (by goatbar):
My proposed solution is in https://github.com/OSGeo/geos/pull/84
It's similar to other methods in the class. Catching `...` is especially
important as not all exceptions are `geos::io::ParseException`. e.g. I
got a `geos::util::IllegalArgumentException` for a malformed `LinearRing`
inside a `GeometryCollection`.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/830#comment:5>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list