gdal/cad_fuzzer: Bad-cast to CADAttdef from CADAttrib in CADLayer::addHandle

2018-01-05T08:02:36
ID OSSFUZZ-4970
Type ossfuzz
Reporter Google
Modified 2019-03-04T16:56:33

Description

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

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

Project: gdal Fuzzer: libFuzzer_gdal_cad_fuzzer Fuzz target binary: cad_fuzzer Job Type: libfuzzer_ubsan_gdal Platform Id: linux

Crash Type: Bad-cast Crash Address: 0x000008164350 Crash State: Bad-cast to CADAttdef from CADAttrib CADLayer::addHandle CADTables::FillLayer

Sanitizer: undefined (UBSAN)

Recommended Security Severity: High

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

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

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.

When you fix this bug, please * mention the fix revision(s). * state whether the bug was a short-lived regression or an old bug in any stable releases. * add any other useful information. This information can help downstream consumers.

If you have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.