Re: [PATCH][drm-next] drm compat: ensure mode in drm_agp_info is being copied

2017-07-04 Thread Al Viro
On Tue, Jul 04, 2017 at 05:48:21PM +0100, Colin King wrote: > From: Colin Ian King > > 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

[PATCH][drm-next] drm compat: ensure mode in drm_agp_info is being copied

2017-07-04 Thread Colin King
From: Colin Ian King 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") Fixes: