commit | f7652afa8eadb416b23eb57dec6f158529942041 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Mon Mar 27 11:09:08 2017 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Thu Mar 30 11:42:54 2017 +0200 |
tree | b96ae6140a414f7eb0577da2c6b20270ff3483f8 | |
parent | d64a04720b0e64c1cd0726a3a27b360822fbee22 [diff] |
drm/vmwgfx: Type-check lookups of fence objects A malicious caller could otherwise hand over handles to other objects causing all sorts of interesting problems. Testing done: Ran a Fedora 25 desktop using both Xorg and gnome-shell/Wayland. Cc: <stable@vger.kernel.org> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>