summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-08 17:13:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:22:34 +0200
commit7a08a860a518250c5e9646d1ccbae1ebfc3dc64f (patch)
tree39b16868745241e4c4291023f26db6a0cf824e4d /tools/perf/scripts/python/bin
parentd967103ce94f7a4bcfce855a7e4df519a3214890 (diff)
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: f64122c1f6ad ("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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions