From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Date: Tue, 04 Jul 2017 17:36:55 +0000 Subject: Re: [PATCH][drm-next] drm compat: ensure mode in drm_agp_info is being copied Message-Id: <20170704173655.GX10672@ZenIV.linux.org.uk> List-Id: References: <20170704164822.20177-1-colin.king@canonical.com> In-Reply-To: <20170704164822.20177-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: Daniel Vetter , Jani Nikula , Sean Paul , David Airlie , dri-devel@lists.freedesktop.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org 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 CoverityScan, CID#1449374 ("Unitialized scalar variable") Folded and pushed out. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH][drm-next] drm compat: ensure mode in drm_agp_info is being copied Date: Tue, 4 Jul 2017 18:36:55 +0100 Message-ID: <20170704173655.GX10672@ZenIV.linux.org.uk> References: <20170704164822.20177-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170704164822.20177-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org To: Colin King Cc: Daniel Vetter , Jani Nikula , Sean Paul , David Airlie , dri-devel@lists.freedesktop.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org 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 CoverityScan, CID#1449374 ("Unitialized scalar variable") Folded and pushed out.