diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2014-03-01 01:20:18 +0400 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2014-03-02 09:49:59 +0100 |
commit | 6950e23e54b1c94abf8c60c1ddfac79133d41de2 (patch) | |
tree | 47bc913f53068c5f33a867fce9a0251544766aad /samples | |
parent | a34417f6be521d1027b803f0b550ce622c971f41 (diff) | |
download | linux-6950e23e54b1c94abf8c60c1ddfac79133d41de2.tar.bz2 |
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 'samples')
0 files changed, 0 insertions, 0 deletions