linux/drivers/gpu/drm/qxl
Colin Ian King fbbf23ddb2 drm: qxl: ensure surf.data is ininitialized
The object surf is not fully initialized and the uninitialized
field surf.data is being copied by the call to qxl_bo_create
via the call to qxl_gem_object_create. Set surf.data to zero
to ensure garbage data from the stack is not being copied.

Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: f64122c1f6 ("drm: add new QXL driver. (v1.4)")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210608161313.161922-1-colin.king@canonical.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2021-06-09 08:52:07 +02:00
..
Kconfig drm/qxl: Fix randbuild error 2019-10-17 14:31:50 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qxl_cmd.c drm/qxl: use ttm bo priorities 2021-02-19 09:13:25 +01:00
qxl_debugfs.c dma-buf: rename and cleanup dma_resv_get_list v2 2021-06-06 11:18:19 +02:00
qxl_dev.h drm/qxl: use flexible-array member instead of zero-length array 2020-12-22 13:43:29 +01:00
qxl_display.c drm/qxl: balance dumb_shadow_bo pin 2021-05-12 12:37:47 +02:00
qxl_draw.c drm/qxl: rename qxl_bo_kmap -> qxl_bo_vmap_locked 2021-02-19 09:13:25 +01:00
qxl_drv.c Merge drm/drm-next into drm-misc-next 2021-05-11 15:59:18 +02:00
qxl_drv.h drm/ttm: rename bo->mem and make it a pointer 2021-06-02 11:07:25 +02:00
qxl_dumb.c drm: qxl: ensure surf.data is ininitialized 2021-06-09 08:52:07 +02:00
qxl_gem.c drm/qxl: use ttm bo priorities 2021-02-19 09:13:25 +01:00
qxl_image.c drm/qxl: rename qxl_bo_kmap -> qxl_bo_vmap_locked 2021-02-19 09:13:25 +01:00
qxl_ioctl.c drm/qxl: Use drm_gem_ttm_dumb_map_offset() 2021-04-11 20:15:21 +02:00
qxl_irq.c drm/qxl: properly free qxl releases 2021-02-05 08:52:45 +01:00
qxl_kms.c drm/qxl: properly handle device init failures 2021-02-19 09:13:25 +01:00
qxl_object.c drm/ttm: rename bo->mem and make it a pointer 2021-06-02 11:07:25 +02:00
qxl_object.h drm/qxl: Use drm_gem_ttm_dumb_map_offset() 2021-04-11 20:15:21 +02:00
qxl_prime.c drm/qxl: fix prime vmap 2021-02-19 09:13:25 +01:00
qxl_release.c drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
qxl_ttm.c drm/ttm: flip over the range manager to self allocated nodes 2021-06-04 15:16:45 +02:00