diff options
| author | Colin Ian King <[email protected]> | 2021-06-08 16:13:13 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2021-06-09 06:52:07 +0000 |
| commit | fbbf23ddb2a1cc0c12c9f78237d1561c24006f50 (patch) | |
| tree | 0cfdc8ae7d414a7f8e1de63c74b3566162d63be9 /drivers/gpu/drm/hyperv/hyperv_drm.h | |
| parent | drm/stm: Remove usage of drm_display_mode_to_videomode() (diff) | |
| download | kernel-fbbf23ddb2a1cc0c12c9f78237d1561c24006f50.tar.gz kernel-fbbf23ddb2a1cc0c12c9f78237d1561c24006f50.zip | |
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: f64122c1f6ad ("drm: add new QXL driver. (v1.4)")
Signed-off-by: Colin Ian King <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/hyperv/hyperv_drm.h')
0 files changed, 0 insertions, 0 deletions
