readstat/fuzz_format_sav: Bad-free in spss_varinfo_free

2019-01-21T05:47:44
ID OSSFUZZ-12595
Type ossfuzz
Reporter Google
Modified 2019-02-21T16:24:41

Description

Project: https://github.com/WizardMac/ReadStat.git

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

Project: readstat Fuzzer: afl_readstat_fuzz_format_sav Fuzz target binary: fuzz_format_sav Job Type: afl_asan_readstat Platform Id: linux

Crash Type: Bad-free Crash Address: 0x000000fcfe38 Crash State: spss_varinfo_free sav_read_variable_record sav_parse_records_pass2

Sanitizer: address (ASAN)

Regressed: https://oss-fuzz.com/revisions?job=afl_asan_readstat&range=201901200219:201901210219

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

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for instructions to reproduce this bug locally.

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 need to contact the OSS-Fuzz team with a question, concern, or any other feedback, please file an issue at https://github.com/google/oss-fuzz/issues.