gdal: Incorrect-function-pointer-type in OGRCurve::CastToLineString

2017-05-14T20:55:00
ID OSSFUZZ-1582
Type ossfuzz
Reporter Google
Modified 2017-06-15T13:04:49

Description

Project: https://github.com/OSGeo/gdal.git

Detailed report: https://oss-fuzz.com/testcase?key=5600546717171712

Project: gdal Fuzzer: libFuzzer_gdal_ogr_fuzzer Fuzz target binary: ogr_fuzzer Job Type: libfuzzer_ubsan_gdal Platform Id: linux

Crash Type: Incorrect-function-pointer-type Crash Address: Crash State: OGRCurve::CastToLineString OGRMultiCurve::CastToMultiLineString GML2OGRGeometry_XMLNode_Internal

Sanitizer: undefined (UBSAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_gdal&range=201705131648:201705141650

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5600546717171712

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse without an upstream patch, then the bug report will automatically become visible to the public.