1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-07 09:26:03 +02:00

Merge pull request #830 from Etsukata/fix-tests-fuzz-build-error

Fix tests/fuzz build error
This commit is contained in:
Yann Collet 2017-09-01 01:22:19 -07:00 committed by GitHub
commit ab40a56fa3
2 changed files with 6 additions and 2 deletions

View File

@ -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 $@

View File

@ -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;