Skip to content

Commit e317c7e

Browse files
committed
[fuzzer] Fix-forward fix-forward CrossOverTest.cpp
#156103 was missing the return value
1 parent 30d2cb5 commit e317c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/fuzzer/CrossOverTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
4747
*NullPtr = 0;
4848
// It's UB to read *Data when Size == 0
4949
if (Size == 0)
50-
return;
50+
return 0;
5151
if (*Data == 'A')
5252
Sink++;
5353
if (*Data == 'Z')

0 commit comments

Comments
 (0)