diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-09-08 15:50:29 +0800 |
---|---|---|
committer | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-09-08 15:50:29 +0800 |
commit | ceab2e21de0856c403dc4e37d7f3b68ee970f3d5 (patch) | |
tree | 52cb4ff49fe9e3a340ff8dbbf1926c38f421e03e /pkg/sentry/kernel/aio.go | |
parent | fada564c83b397d2e6c4213067ba3db2335445b4 (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/kernel/aio.go')
0 files changed, 0 insertions, 0 deletions