Opened 2 years ago

Closed 2 years ago

#6166 closed defect (fixed)

Fuzzing geojson

Reported by: Kurt Schwehr Owned by: warmerdam
Priority: normal Milestone: 2.0.2
Component: OGR_SF Version:
Severity: normal Keywords: fuzzing afl
Cc:

Description

Using AFL, I found some test cases that cause issue in/around the geojson world. I think these were done with ogr2ogr, so not necessarily hitting the GeoJSON driver. I need to create something more focused to just exercise OGR + the GeoJSON driver where I force the geojson driver to try to read the bytes. This was using trunk around r31000 or so.

Attachments (1)

geojson.tar.xz (2.6 KB) - added by Kurt Schwehr 2 years ago.
Files that caused hangs or crashes with some versions of GDAL's ogr2ogr

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by Kurt Schwehr

Attachment: geojson.tar.xz added

Files that caused hangs or crashes with some versions of GDAL's ogr2ogr

comment:1 Changed 2 years ago by Even Rouault

Component: AutotestOGR_SF
Milestone: 2.0.2
Resolution: fixed
Status: newclosed
Version: svn-trunk

All crashers were due to a single point of failure from what I can see

trunk r31111, branches/2.0 r31112 "GeoJSON: fix crash on null / non-json object features (#6166)"

Note: See TracTickets for help on using tickets.