Skip to content
Commit 6950e23e authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Thomas Hellstrom
Browse files

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: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
parent a34417f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment