summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMurray McAllister <murray.mcallister@gmail.com>2019-05-11 18:01:37 +1200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-22 08:18:24 +0200
commit8f6b0e59d2a072cb19841b13fd8acba993ba55b3 (patch)
tree06f2b67c794c717120aa28dda3a36604fd23b3ae /net/lapb/lapb_iface.c
parent6e0c7e73232f4c1e3a87aa9b2149717f92e2302c (diff)
drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
commit bcd6aa7b6cbfd6f985f606c6f76046d782905820 upstream. If SVGA_3D_CMD_DX_DEFINE_RENDERTARGET_VIEW is called with a surface ID of SVGA3D_INVALID_ID, the srf struct will remain NULL after vmw_cmd_res_check(), leading to a null pointer dereference in vmw_view_add(). Cc: <stable@vger.kernel.org> Fixes: d80efd5cb3de ("drm/vmwgfx: Initial DX support") Signed-off-by: Murray McAllister <murray.mcallister@gmail.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions