alistair23-linux/drivers/gpu/drm/vmwgfx
Alexey Khoroshilov 6950e23e54 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>
2014-03-02 09:49:59 +01:00
..
Kconfig
Makefile drm/vmwgfx: Add guest-backed shaders 2014-01-17 07:52:27 +01:00
svga3d_reg.h drm/vmwgfx: Remove some unused surface formats 2014-03-02 09:42:53 +01:00
svga3d_surfacedefs.h drm/vmwgfx: Fix possible integer overflow 2014-02-12 19:30:45 +01:00
svga_escape.h
svga_overlay.h
svga_reg.h drm/vmwgfx: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE 2014-02-12 12:17:00 +01:00
svga_types.h
vmwgfx_buffer.c drm/vmwgfx: Use the linux DMA api also for MOBs 2014-01-17 07:52:38 +01:00
vmwgfx_context.c drm/vmwgfx: Fix a couple of sparse warnings and errors 2014-02-12 12:01:11 +01:00
vmwgfx_dmabuf.c drm/vmwgfx: Ditch the vmw_dummy_query_bo_prepare function 2014-01-17 07:52:37 +01:00
vmwgfx_drv.c drm/vmwgfx: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE 2014-02-12 12:17:00 +01:00
vmwgfx_drv.h drm/vmwgfx: Make sure backing mobs are cleared when allocated. Update driver date. 2014-03-02 09:43:40 +01:00
vmwgfx_execbuf.c drm/vmwgfx: Fix command defines and checks 2014-02-12 19:31:45 +01:00
vmwgfx_fb.c
vmwgfx_fence.c drivers: gpu: Mark functions as static in vmwgfx_fence.c 2014-01-08 13:45:56 +01:00
vmwgfx_fence.h
vmwgfx_fifo.c drm/vmwgfx: Enable 3D for new hardware version 2014-01-17 07:52:29 +01:00
vmwgfx_gmr.c drm/vmwgfx: Fix the driver for large dma addresses 2014-01-17 07:44:15 +01:00
vmwgfx_gmrid_manager.c drm/vmwgfx: Hook up MOBs to TTM as a separate memory type 2014-01-17 07:52:21 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE 2014-02-12 12:17:00 +01:00
vmwgfx_irq.c drm: Kill DRM_IRQ_ARGS 2013-12-18 11:33:46 +10:00
vmwgfx_kms.c drm/vmwgfx: Fix surface framebuffer check for guest-backed surfaces 2014-01-17 07:52:39 +01:00
vmwgfx_kms.h
vmwgfx_ldu.c drm/vmwgfx: Add our connectors to sysfs 2013-12-04 12:04:02 -08:00
vmwgfx_marker.c
vmwgfx_mob.c drm/vmwgfx: avoid null pointer dereference at failure paths 2014-03-02 09:49:59 +01:00
vmwgfx_overlay.c
vmwgfx_prime.c drm/vmwgfx: Hook up the prime ioctls 2013-11-18 04:11:53 -08:00
vmwgfx_reg.h
vmwgfx_resource.c drm/vmwgfx: Make sure backing mobs are cleared when allocated. Update driver date. 2014-03-02 09:43:40 +01:00
vmwgfx_resource_priv.h
vmwgfx_scrn.c drm/vmwgfx: Add our connectors to sysfs 2013-12-04 12:04:02 -08:00
vmwgfx_shader.c drm/vmwgfx: Fix a couple of sparse warnings and errors 2014-02-12 12:01:11 +01:00
vmwgfx_surface.c drm/vmwgfx: Reemit context bindings when necessary v2 2014-02-05 08:41:58 +01:00
vmwgfx_ttm_glue.c