summaryrefslogtreecommitdiffstats
path: root/tools/usb
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2013-10-01 19:58:36 +0300
committerGleb Natapov <gleb@redhat.com>2013-10-03 10:08:52 +0300
commita2ac07fe292ea41296049dfdbfeed203e2467ee7 (patch)
tree93f6f81ef917245073ffdbc89123dd74cd8ccdd4 /tools/usb
parent517bf8fc211d37d3aa005fb35f9ee7f1d35cb860 (diff)
downloadlinux-stable-a2ac07fe292ea41296049dfdbfeed203e2467ee7.tar.gz
linux-stable-a2ac07fe292ea41296049dfdbfeed203e2467ee7.tar.bz2
linux-stable-a2ac07fe292ea41296049dfdbfeed203e2467ee7.zip
Fix NULL dereference in gfn_to_hva_prot()
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>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions