diff options
Diffstat (limited to 'vendor/github.com/opencontainers/runc/libcontainer/configs/configs_fuzzer.go')
-rw-r--r-- | vendor/github.com/opencontainers/runc/libcontainer/configs/configs_fuzzer.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/opencontainers/runc/libcontainer/configs/configs_fuzzer.go b/vendor/github.com/opencontainers/runc/libcontainer/configs/configs_fuzzer.go new file mode 100644 index 000000000..93bf41c8d --- /dev/null +++ b/vendor/github.com/opencontainers/runc/libcontainer/configs/configs_fuzzer.go @@ -0,0 +1,9 @@ +// +build gofuzz + +package configs + +func FuzzUnmarshalJSON(data []byte) int { + hooks := Hooks{} + _ = hooks.UnmarshalJSON(data) + return 1 +} |