diff --git a/oss-fuzz.sh b/oss-fuzz.sh old mode 100644 new mode 100755 diff --git a/tests/fuzzers/rlp/rlp_fuzzer.go b/tests/fuzzers/rlp/rlp_fuzzer.go index 5c8772d460cfa55e5c97444eae4d8e390e535f51..0db449e1d54491ee1b0b0cc16de8b144cec25dcc 100644 --- a/tests/fuzzers/rlp/rlp_fuzzer.go +++ b/tests/fuzzers/rlp/rlp_fuzzer.go @@ -43,16 +43,15 @@ func Fuzz(input []byte) int { var i int { - if _, _, _, err := rlp.Split(input); err != nil { - panic(err) - } + if _, _, _, err := rlp.Split(input); err != nil { + panic(err) } } + { - if elems, _, err := rlp.SplitList(input); err == nil { - if _, err = rlp.CountValues(elems); err != nil { - panic(err) - } + if elems, _, err := rlp.SplitList(input); err == nil { + if _, err = rlp.CountValues(elems); err != nil { + panic(err) } } }