Updated staticcheck
This commit is contained in:
11
vendor/honnef.co/go/tools/printf/fuzz.go
vendored
Normal file
11
vendor/honnef.co/go/tools/printf/fuzz.go
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// +build gofuzz
|
||||
|
||||
package printf
|
||||
|
||||
func Fuzz(data []byte) int {
|
||||
_, err := Parse(string(data))
|
||||
if err == nil {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
Reference in New Issue
Block a user