mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
gfn_to_memslot() can return NULL or invalid slot. We need to check slot validity before accessing it. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>