mirror of
https://github.com/distribution/distribution.git
synced 2025-09-23 12:09:13 +00:00
12
reference/fuzz.go
Normal file
12
reference/fuzz.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// +build gofuzz
|
||||
|
||||
package reference
|
||||
|
||||
// fuzzParseNormalizedNamed implements a fuzzer
|
||||
// that targets ParseNormalizedNamed
|
||||
// Export before building the fuzzer.
|
||||
// nolint:deadcode
|
||||
func fuzzParseNormalizedNamed(data []byte) int {
|
||||
_, _ = ParseNormalizedNamed(string(data))
|
||||
return 1
|
||||
}
|
Reference in New Issue
Block a user