From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 3 Feb 2012 15:39:31 -0200 From: Rajiv Andrade To: Tim Gardner Cc: linux-kernel@vger.kernel.org, Seth Forshee , Debora Velarde , Marcel Selhorst , tpmdd-devel@lists.sourceforge.net, stable@vger.kernel.org Subject: Re: [PATCH 1/3] TPM: Zero buffer whole after copying to userspace Message-ID: <20120203173931.GC21715@hardened-box.ibm.com> References: <1323196162-2717-1-git-send-email-tim.gardner@canonical.com> <1323196162-2717-2-git-send-email-tim.gardner@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1323196162-2717-2-git-send-email-tim.gardner@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Tue, 06 Dec 2011, Tim Gardner wrote: > Commit 3321c07ae5068568cd61ac9f4ba749006a7185c9 correctly clears the TPM > buffer if the user specified read length is >= the TPM buffer length. However, > if the user specified read length is < the TPM buffer length, then part of the > TPM buffer is left uncleared. > > Reported-by: Seth Forshee > Cc: Debora Velarde > Cc: Rajiv Andrade > Cc: Marcel Selhorst > Cc: tpmdd-devel@lists.sourceforge.net > Cc: stable@vger.kernel.org > Signed-off-by: Tim Gardner Applied to github.com:srajiv/tpm.git next Thanks, Rajiv