mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 10:20:20 +00:00
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
|
||
|
}
|