2022-11-02 21:05:45 +00:00
|
|
|
//go:build gofuzz
|
2021-07-20 15:24:20 +00:00
|
|
|
// +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
|
|
|
|
}
|