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:
commit
ab40a56fa3
@ -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 $@
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user