diff options
| author | Dmitry Osipenko <[email protected]> | 2022-06-30 23:07:19 +0300 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2022-07-19 14:40:57 +0200 |
| commit | e473216b42aa1fd9fc6b94b608b42c210c655908 (patch) | |
| tree | 13b2152b869d1df2696a45dbccbf73cebee428bc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 64b88afbd92fbf434759d1896a7cf705e1c00e79 (diff) | |
drm/virtio: Check whether transferred 2D BO is shmem
Transferred 2D BO always must be a shmem BO. Add check for that to prevent
NULL dereference if userspace passes a VRAM BO.
Cc: [email protected]
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions