mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
13 lines
267 B
Go
13 lines
267 B
Go
|
// +build gofuzz
|
||
|
|
||
|
package v2
|
||
|
|
||
|
// FuzzParseForwardedHeader implements a fuzzer
|
||
|
// that targets parseForwardedHeader
|
||
|
// Export before building
|
||
|
// nolint:deadcode
|
||
|
func fuzzParseForwardedHeader(data []byte) int {
|
||
|
_, _, _ = parseForwardedHeader(string(data))
|
||
|
return 1
|
||
|
}
|