Skip to content

Commit ba29be1

Browse files
committed
Fix false failures
Signed-off-by: Appu <appu@google.com>
1 parent 69a747c commit ba29be1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

fuzzing/src/main/java/fuzzing/RekorTypesFuzzer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ public static void fuzzerTestOneInput(FuzzedDataProvider data) {
4040
entry = RekorEntry.fromTLogEntryJson(string);
4141
}
4242

43+
if (entry == null) {
44+
// these parsers require a non-null entry
45+
return;
46+
}
47+
4348
switch (type) {
4449
case 0:
4550
RekorTypes.getHashedRekordV001(entry);

0 commit comments

Comments
 (0)