WSL2-Linux-Kernel/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
Makefile
qxl_cmd.c
qxl_debugfs.c dma-buf: rename and cleanup dma_resv_get_list v2 2021-06-06 11:18:19 +02:00
qxl_dev.h
qxl_display.c drm/qxl: balance dumb_shadow_bo pin 2021-05-12 12:37:47 +02:00
qxl_draw.c
qxl_drv.c
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
qxl_image.c
qxl_ioctl.c
qxl_irq.c
qxl_kms.c
qxl_object.c drm/ttm: rename bo->mem and make it a pointer 2021-06-02 11:07:25 +02:00
qxl_object.h
qxl_prime.c
qxl_release.c
qxl_ttm.c drm/ttm: flip over the range manager to self allocated nodes 2021-06-04 15:16:45 +02:00