summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov2014-02-28 22:20:18 +0100
committerThomas Hellstrom2014-03-02 09:49:59 +0100
commit6950e23e54b1c94abf8c60c1ddfac79133d41de2 (patch)
tree47bc913f53068c5f33a867fce9a0251544766aad /arch/x86/kvm/x86.c
parentdrm/vmwgfx: Make sure backing mobs are cleared when allocated. Update driver ... (diff)
downloadkernel-qcow2-linux-6950e23e54b1c94abf8c60c1ddfac79133d41de2.tar.gz
kernel-qcow2-linux-6950e23e54b1c94abf8c60c1ddfac79133d41de2.tar.xz
kernel-qcow2-linux-6950e23e54b1c94abf8c60c1ddfac79133d41de2.zip
drm/vmwgfx: avoid null pointer dereference at failure paths
vmw_takedown_otable_base() and vmw_mob_unbind() check for potential vmw_fifo_reserve() failure and print error message, but then immediately dereference NULL pointer. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions