diff options
| author | Alexey Khoroshilov <[email protected]> | 2014-02-28 21:20:18 +0000 |
|---|---|---|
| committer | Thomas Hellstrom <[email protected]> | 2014-03-02 08:49:59 +0000 |
| commit | 6950e23e54b1c94abf8c60c1ddfac79133d41de2 (patch) | |
| tree | 47bc913f53068c5f33a867fce9a0251544766aad /lib/dma-debug.c | |
| parent | drm/vmwgfx: Make sure backing mobs are cleared when allocated. Update driver ... (diff) | |
| download | kernel-6950e23e54b1c94abf8c60c1ddfac79133d41de2.tar.gz kernel-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 <[email protected]>
Reviewed-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
