Skip to content

Commit fa33b2c

Browse files
author
MarcoFalke
committed
fuzz: Add missing PROVIDE_FUZZ_MAIN_FUNCTION guard to __AFL_FUZZ_INIT
1 parent f01416e commit fa33b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fuzz/fuzz.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include <utility>
3030
#include <vector>
3131

32-
#ifdef __AFL_FUZZ_INIT
32+
#if defined(PROVIDE_FUZZ_MAIN_FUNCTION) && defined(__AFL_FUZZ_INIT)
3333
__AFL_FUZZ_INIT();
3434
#endif
3535

0 commit comments

Comments
 (0)