mirror of
				https://github.com/facebook/zstd.git
				synced 2025-10-31 16:47:48 +02:00 
			
		
		
		
	Merge pull request #830 from Etsukata/fix-tests-fuzz-build-error
Fix tests/fuzz build error
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user