mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 06:01:25 +00:00
19 lines
192 B
Go
19 lines
192 B
Go
//go:build gofuzz
|
|
// +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
|
|
}
|