Messages in this thread | | | Date | Wed, 9 Jun 2021 09:00:23 +0200 | From | Gerd Hoffmann <> | Subject | Re: [PATCH] drm: qxl: ensure surf.data is ininitialized |
| |
On Tue, Jun 08, 2021 at 05:13:13PM +0100, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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>
Pushed to drm-misc-next.
thanks, Gerd
| |