userswap: fix NULL pointer dereference in uswap_unmap_anon_page()
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6CAIM -------------------------------- If old_pte is NULL, *old_pte will result in a null pointer dereference. Fix this by adding a NULL check for old_pte. Signed-off-by: NZhangPeng <zhangpeng362@huawei.com>
Showing
想要评论请 注册 或 登录