Skip to content

Commit a5979a8

Browse files
committed
Merge bitcoin#28506: fuzz: Add missing PROVIDE_FUZZ_MAIN_FUNCTION guard to __AFL_FUZZ_INIT
fa33b2c fuzz: Add missing PROVIDE_FUZZ_MAIN_FUNCTION guard to __AFL_FUZZ_INIT (MarcoFalke) Pull request description: Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62455 ACKs for top commit: dergoegge: utACK fa33b2c Tree-SHA512: 735926f7f94ad1c3c5dc0fc62a2ef3a85abae25f4fe1e7654c2857ce3e867667ed28da58ab36281d730d3e206a0728cb429671ea5d3ccd11519e637eb191f70d
2 parents f01416e + fa33b2c commit a5979a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fuzz/fuzz.cpp

Lines changed: 1 addition & 1 deletion
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)