From: Takashi Iwai Subject: Re: [PATCH 2/2] ALSA: timer: Info leak in snd_timer_user_tinterrupt() Date: Fri, 31 Mar 2017 17:28:06 +0200 Message-ID: References: <20170331152223.GC8141@mwanda> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20170331152223.GC8141@mwanda> Sender: kernel-janitors-owner@vger.kernel.org To: Dan Carpenter Cc: Kangjie Lu , Jaroslav Kysela , alsa-devel@alsa-project.org, Alexandre Belloni , kernel-janitors@vger.kernel.org List-Id: alsa-devel@alsa-project.org On Fri, 31 Mar 2017 17:22:23 +0200, Dan Carpenter wrote: > > The "r1" struct has memory holes. We clear it with memset on one path > where it is used but not the other. Let's just memset it at the start > of the function so it's always safe. > > Signed-off-by: Dan Carpenter Applied, thanks. Takashi