[PATCH][drm-next] drm compat: ensure mode in drm_agp_info is being copied
Al Viro
viro at ZenIV.linux.org.uk
Tue Jul 4 17:36:55 UTC 2017
On Tue, Jul 04, 2017 at 05:48:21PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> A recent compat change removed the copying of i32.mode from info.mode.
> Add it back in to fix this removal as we currently are leaking information
> from the stack.
>
> Detected by CoverityScan, CID#1449374 ("Unitialized scalar variable")
Folded and pushed out.
More information about the dri-devel
mailing list