diff options
author | Nick Terrell <terrelln@fb.com> | 2019-07-13 02:27:00 (GMT) |
---|---|---|
committer | Nick Terrell <terrelln@fb.com> | 2019-07-15 19:22:04 (GMT) |
commit | 3c40db8d258716b9efcfb46fa6dc29de6e43e616 (patch) | |
tree | 7fd1d48f6195dfde2c6475fe035a0061b948e9c3 /ossfuzz/Makefile | |
parent | 725cb0aafdf78b550c52618fe5cea1fadd278881 (diff) | |
download | lz4-3c40db8d258716b9efcfb46fa6dc29de6e43e616.zip lz4-3c40db8d258716b9efcfb46fa6dc29de6e43e616.tar.gz lz4-3c40db8d258716b9efcfb46fa6dc29de6e43e616.tar.bz2 |
[ossfuzz] Improve the fuzzers
* Run more decompression variants
* Round trip the compression fuzzer and do partial decompression as well
* Add a compression fuzzer that compresses into a smaller output buffer
and test the destSize variant
These fuzzers caught 2 bugs that were fixed in the previous commit.
* Input buffer over-read in partial decompress
* Partial decompress fails if output size is 0
Diffstat (limited to 'ossfuzz/Makefile')
-rw-r--r-- | ossfuzz/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ossfuzz/Makefile b/ossfuzz/Makefile index bd01123..4d24944 100644 --- a/ossfuzz/Makefile +++ b/ossfuzz/Makefile @@ -57,3 +57,4 @@ $(LZ4DIR)/liblz4.a: .PHONY: clean clean: compress_fuzzer_clean decompress_fuzzer_clean + $(MAKE) -C $(LZ4DIR) clean |