[geos-devel] [GEOS] #1138: Crash on invalid GeoJSON input

GEOS geos-trac at osgeo.org
Sat Oct 30 05:55:40 PDT 2021


#1138: Crash on invalid GeoJSON input
------------------------+--------------------------
 Reporter:  caspervdw   |      Owner:  geos-devel@…
     Type:  defect      |     Status:  new
 Priority:  major       |  Milestone:  3.10.1
Component:  Default     |    Version:  main
 Severity:  Unassigned  |   Keywords:
------------------------+--------------------------
 I have been wrapping the new GeoJSON reader and writer in pygeos and
 encountered a few issues.

 One issue is that GEOS crashes (aborts) on invalid geojson input ‘{“no”:
 “GeoJSON”}’.
 It seems that all places where a field is expected by the reader (e.g.
 “type”) the exception handling is not OK.

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1138>
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