peridot/vendor/github.com/aws/aws-sdk-go/internal/ini/fuzz.go

19 lines
192 B
Go
Raw Permalink Normal View History

2022-11-04 02:21:49 +00:00
//go:build gofuzz
2022-07-07 20:11:50 +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
}