Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/qxl
Colin Ian King 1ccbb552e3 drm: qxl: ensure surf.data is ininitialized
[ Upstream commit fbbf23ddb2a1cc0c12c9f78237d1561c24006f50 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:20 +02:00
..
2019-10-17 14:31:50 +02:00
2021-05-14 09:50:00 +02:00
2021-05-14 09:50:00 +02:00
2020-04-29 13:21:34 +02:00
2021-05-14 09:50:00 +02:00
2020-06-25 11:59:02 +02:00
2021-05-14 09:50:00 +02:00
2021-05-14 09:50:00 +02:00
2019-05-27 13:17:03 +02:00
2021-05-14 09:50:00 +02:00
2020-09-18 06:14:41 +10:00