forked from quic-go/quic-go
use the correct return values in Fuzz() functions
This commit is contained in:
@@ -75,5 +75,5 @@ func Fuzz(data []byte) int {
|
||||
if b.Len() > parsedLen {
|
||||
panic(fmt.Sprintf("Serialized length (%d) is longer than parsed length (%d)", b.Len(), parsedLen))
|
||||
}
|
||||
return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user