mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
2ae5665351
Signed-off-by: AdamKorcz <adam@adalogics.com>
16 lines
248 B
Go
16 lines
248 B
Go
// +build gofuzz
|
|
|
|
package system
|
|
|
|
import (
|
|
"strings"
|
|
|
|
"github.com/opencontainers/runc/libcontainer/user"
|
|
)
|
|
|
|
func FuzzUIDMap(data []byte) int {
|
|
uidmap, _ := user.ParseIDMap(strings.NewReader(string(data)))
|
|
_ = UIDMapInUserNS(uidmap)
|
|
return 1
|
|
}
|