2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2021-08-05 23:42:39 +01:00
|
|
|
//go:build gofuzz
|
2021-01-12 23:10:10 +00:00
|
|
|
|
|
|
|
package stun
|
|
|
|
|
|
|
|
func FuzzStunParser(data []byte) int {
|
2022-08-12 20:22:05 +01:00
|
|
|
_, _, _ = ParseResponse(data)
|
2021-01-12 23:10:10 +00:00
|
|
|
|
|
|
|
_, _ = ParseBindingRequest(data)
|
|
|
|
return 1
|
|
|
|
}
|