summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/tmpfs/device_file.go
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2020-09-08 15:50:29 +0800
committerAndrei Vagin <avagin@gmail.com>2020-09-09 17:53:10 -0700
commit982ac0e46a1ed6a76ef09d1e6eb7a19ed20b03c8 (patch)
tree1175a38bebdb273bf2b42d199b9025988bcd3917 /pkg/sentry/fsimpl/tmpfs/device_file.go
parent03a529d8ac52ab0227a0bbd85aaa3d8808b11e59 (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/fsimpl/tmpfs/device_file.go')
0 files changed, 0 insertions, 0 deletions