diff options
| author | Murray McAllister <[email protected]> | 2019-05-11 06:01:37 +0000 |
|---|---|---|
| committer | Thomas Hellstrom <[email protected]> | 2019-05-21 08:23:10 +0000 |
| commit | bcd6aa7b6cbfd6f985f606c6f76046d782905820 (patch) | |
| tree | 697458d8b3f69a716cbbd0c7a14104b30f8082b1 /tools/perf/scripts/python | |
| parent | drm/vmwgfx: Use the dma scatter-gather iterator to get dma addresses (diff) | |
| download | kernel-bcd6aa7b6cbfd6f985f606c6f76046d782905820.tar.gz kernel-bcd6aa7b6cbfd6f985f606c6f76046d782905820.zip | |
drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
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: <[email protected]>
Fixes: d80efd5cb3de ("drm/vmwgfx: Initial DX support")
Signed-off-by: Murray McAllister <[email protected]>
Reviewed-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
