diff options
author | Tristan Matthews <tmatth@videolan.org> | 2019-02-28 01:43:04 +0300 |
---|---|---|
committer | Tristan Matthews <tmatth@videolan.org> | 2019-02-28 19:06:52 +0300 |
commit | 471fc63f90b236644ac1adc26805da712bd22f6e (patch) | |
tree | 9655fc62746855bf0ffa14d9900691fbfa3bcb6c | |
parent | 705ce4c960ed9f85972da2c6479b13f51a790a2c (diff) |
oss-fuzz: non-zero returns are disallowed
Reported by Tyson Smith
-rw-r--r-- | contrib/oss-fuzz/speexdec_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/oss-fuzz/speexdec_fuzzer.cc b/contrib/oss-fuzz/speexdec_fuzzer.cc index 7782bd2..9b9d986 100644 --- a/contrib/oss-fuzz/speexdec_fuzzer.cc +++ b/contrib/oss-fuzz/speexdec_fuzzer.cc @@ -225,7 +225,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *fuzz_data, size_t fuzz_size { st = process_header(&op, enh_enabled, &frame_size, &granule_frame_size, &rate, &nframes, &channels, &stereo, &extra_headers); if (!st) - return 1; + return 0; speex_decoder_ctl(st, SPEEX_GET_LOOKAHEAD, &lookahead); if (!nframes) nframes=1; |