mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
15 lines
173 B
Go
15 lines
173 B
Go
// +build gofuzz
|
|
|
|
package whisper
|
|
|
|
func Fuzz(data []byte) int {
|
|
if len(data) < 2 {
|
|
return -1
|
|
}
|
|
|
|
msg := &ReceivedMessage{Raw: data}
|
|
msg.ValidateAndParse()
|
|
|
|
return 0
|
|
}
|