summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/inotify.go
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2020-09-08 15:50:29 +0800
committerTiwei Bie <tiwei.btw@antgroup.com>2020-09-08 15:50:29 +0800
commitceab2e21de0856c403dc4e37d7f3b68ee970f3d5 (patch)
tree52cb4ff49fe9e3a340ff8dbbf1926c38f421e03e /pkg/sentry/vfs/inotify.go
parentfada564c83b397d2e6c4213067ba3db2335445b4 (diff)
Fix the use after nil check on args.MountNamespaceVFS2
The args.MountNamespaceVFS2 is used again after the nil check, instead, mntnsVFS2 which holds the expected reference should be used. This patch fixes this issue. Fixes: #3855 Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Diffstat (limited to 'pkg/sentry/vfs/inotify.go')
0 files changed, 0 insertions, 0 deletions