3f15326248
Update github.com/aws/aws-sdk-go and github.com/hashicorp/go-discover to pick up support for EC2 Metadata Instance Service v2 changes. Follow up to https://github.com/hashicorp/go-discover/pull/128 .
18 lines
174 B
Go
18 lines
174 B
Go
// +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
|
|
}
|