From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752327AbdGDRhI (ORCPT ); Tue, 4 Jul 2017 13:37:08 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:51902 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbdGDRhH (ORCPT ); Tue, 4 Jul 2017 13:37:07 -0400 Date: Tue, 4 Jul 2017 18:36:55 +0100 From: Al Viro 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 Subject: Re: [PATCH][drm-next] drm compat: ensure mode in drm_agp_info is being copied 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 Content-Disposition: inline In-Reply-To: <20170704164822.20177-1-colin.king@canonical.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: 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.