diff options
author | Lai Jiangshan <eag0628@gmail.com> | 2020-01-09 09:01:17 +0000 |
---|---|---|
committer | Lai Jiangshan <laijs@linux.alibaba.com> | 2020-01-09 09:18:33 +0000 |
commit | fdfa05ff2c99b4a2f7c0b22fc491a268f1f2e164 (patch) | |
tree | 2da9bcc86daf407994f903c9406375a6eb731fb4 /pkg/sentry/pgalloc/pgalloc_test.go | |
parent | d057871f410088fe6825b1dde695f015e36abf73 (diff) |
Avoid panic when c.PCIDs is nil
When PCID is disabled, there would throw a panic
when dropPageTables() access to c.PCID without check.
Signed-off-by: Lai Jiangshan <eag0628@gmail.com>
Diffstat (limited to 'pkg/sentry/pgalloc/pgalloc_test.go')
0 files changed, 0 insertions, 0 deletions