diff options
author | Evgenii Kliuchnikov <eustas@google.com> | 2023-03-01 16:51:03 +0000 |
---|---|---|
committer | Evgenii Kliuchnikov <eustas.ru@gmail.com> | 2023-07-04 07:53:20 +0000 |
commit | 6db17c87f5b7b31c5fba5ef5be0e00edb0c97147 (patch) | |
tree | eb42eb551fb3ad17c9951cc356afd127294b83cf /c/fuzz | |
parent | 6f7f5a163d76d05abe0708cb18bfb24a873af72e (diff) | |
download | brotli-6db17c87f5b7b31c5fba5ef5be0e00edb0c97147.zip brotli-6db17c87f5b7b31c5fba5ef5be0e00edb0c97147.tar.gz brotli-6db17c87f5b7b31c5fba5ef5be0e00edb0c97147.tar.bz2 |
0.4-1.5% decoder speedup
PiperOrigin-RevId: 513248503
Diffstat (limited to 'c/fuzz')
-rw-r--r-- | c/fuzz/decode_fuzzer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/c/fuzz/decode_fuzzer.c b/c/fuzz/decode_fuzzer.c index 697f9bf..46144e0 100644 --- a/c/fuzz/decode_fuzzer.c +++ b/c/fuzz/decode_fuzzer.c @@ -27,11 +27,6 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { size_t total_out = 0; BrotliDecoderState* state = BrotliDecoderCreateInstance(0, 0, 0); - if (!state) { - // OOM is out-of-scope here. - free(buffer); - return 0; - } if (addend == 0) addend = size; |