gvisor: fix broken build (#8173)

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2022-08-06 17:04:16 +01:00 committed by GitHub
parent 1ac061d41b
commit fa363599d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,13 +18,13 @@ package fuzzing
import (
"bytes"
"context"
"gvisor.dev/gvisor/pkg/buffer"
"gvisor.dev/gvisor/pkg/bufferv2"
"gvisor.dev/gvisor/pkg/state"
)
func FuzzStateLoad(data []byte) int {
ctx := context.Background()
var toLoad *buffer.View
var toLoad *bufferv2.View
_, _ = state.Load(ctx, bytes.NewReader(data), toLoad)
return 1
}