mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 04:09:48 +00:00
16 lines
248 B
Go
16 lines
248 B
Go
// +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
|
|
}
|