From 663939597932d2a28727107805a3ab24e0a48196 Mon Sep 17 00:00:00 2001 From: Eiichi Tsukata Date: Fri, 1 Sep 2017 16:31:58 +0900 Subject: [PATCH 1/2] tests/fuzz: fix make all target names --- tests/fuzz/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/fuzz/Makefile b/tests/fuzz/Makefile index c6327068f..dfb8f1913 100644 --- a/tests/fuzz/Makefile +++ b/tests/fuzz/Makefile @@ -48,7 +48,11 @@ LIBFUZZER ?= -lFuzzer default: all -all: round_trip simple_decompress +all: \ + simple_round_trip \ + stream_round_trip \ + simple_decompress \ + stream_decompress %.o: %.c $(CC) $(FUZZ_CPPFLAGS) $(FUZZ_CFLAGS) $^ -c -o $@ From 7492e7f1c7b5f8420e268857f374a3d2250de641 Mon Sep 17 00:00:00 2001 From: Eiichi Tsukata Date: Fri, 1 Sep 2017 16:35:43 +0900 Subject: [PATCH 2/2] tests/fuzz: change ZSTD_BLOCKSIZE_ABSOLUTEMAX into ZSTD_BLOCKSIZE_MAX ZSTD_BLOCKSIZE_ABSOLUTEMAX is changed at the commit: https://github.com/facebook/zstd/commit/fa3671eac7097ce4ae9a1a4c53d2d1486c29d48f --- tests/fuzz/stream_decompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzz/stream_decompress.c b/tests/fuzz/stream_decompress.c index ae853dc8c..dfd746972 100644 --- a/tests/fuzz/stream_decompress.c +++ b/tests/fuzz/stream_decompress.c @@ -20,7 +20,7 @@ #include "fuzz_helpers.h" #include "zstd.h" -static size_t const kBufSize = ZSTD_BLOCKSIZE_ABSOLUTEMAX; +static size_t const kBufSize = ZSTD_BLOCKSIZE_MAX; static ZSTD_DStream *dstream = NULL; static void* buf = NULL;