Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyson Smith <twsmith@mozilla.com>2019-02-28 01:09:38 +0300
committerTristan Matthews <tmatth@videolan.org>2019-02-28 19:06:52 +0300
commit705ce4c960ed9f85972da2c6479b13f51a790a2c (patch)
tree7df2a3f75522edac7477e44c557eb4d0c8f9799a
parentaa5afb8b20c3844800e489e14de929413856bbe9 (diff)
speexdec_fuzzer: do not exit
-rw-r--r--contrib/oss-fuzz/speexdec_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/oss-fuzz/speexdec_fuzzer.cc b/contrib/oss-fuzz/speexdec_fuzzer.cc
index 6ca8e81..7782bd2 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)
- exit(1);
+ return 1;
speex_decoder_ctl(st, SPEEX_GET_LOOKAHEAD, &lookahead);
if (!nframes)
nframes=1;