kubernetes/vendor/github.com/opencontainers/runc/libcontainer/userns/userns_fuzzer.go

//go:build gofuzz
// +build gofuzz

package userns

import (
	"strings"

	"github.com/opencontainers/runc/libcontainer/user"
)

func FuzzUIDMap(data []byte) int {
	uidmap, _ := user.ParseIDMap(strings.NewReader(string(data)))
	_ = uidMapInUserNS(uidmap)
	return 1
}