diff options
author | Tristan Matthews <tmatth@videolan.org> | 2019-03-04 09:01:36 +0300 |
---|---|---|
committer | Tristan Matthews <tmatth@videolan.org> | 2019-03-04 09:01:36 +0300 |
commit | a925ab6e150bb5a45aa17e1fdc64fc596bac9a5a (patch) | |
tree | f3e0f09242b3f6e31d10b2035845b415d45bb63d | |
parent | b27ab288bb47531ff6a78fec3bfff5cc7fe56b36 (diff) |
oss-fuzz: drop tautologies
-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 60e3d6b..b7d3bca 100644 --- a/contrib/oss-fuzz/speexdec_fuzzer.cc +++ b/contrib/oss-fuzz/speexdec_fuzzer.cc @@ -135,7 +135,7 @@ static void *process_header(ogg_packet *op, spx_int32_t enh_enabled, spx_int32_t } static int is_safe_ogg_page_serialno(const ogg_page *og) { - return og->header[15] < (1 << 23) && og->header[16] < (1 << 15) && og->header[17] < (1 << 7); + return og->header[17] < (1 << 7); } extern "C" int LLVMFuzzerTestOneInput(const uint8_t *fuzz_data, size_t fuzz_size) |