robocar-tools/vendor/github.com/aws/aws-sdk-go-v2/internal/ini/fuzz.go

19 lines
192 B
Go
Raw Normal View History

//go:build gofuzz
2020-02-23 14:36:57 +00:00
// +build gofuzz
package ini
import (
"bytes"
)
func Fuzz(data []byte) int {
b := bytes.NewReader(data)
if _, err := Parse(b); err != nil {
return 0
}
return 1
}