summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorTim Gardner <tim.gardner@canonical.com>2011-12-06 11:29:20 -0700
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>2012-02-14 16:43:38 -0200
commit3ab1aff89477dafb1aaeafe8c8669114a02b7226 (patch)
treea8445d0ca44505db9f59620c92b9fe842f9304f0 /security
parent968de8e24d08fcc425e112ca465d4688b89b777b (diff)
downloadblackbird-op-linux-3ab1aff89477dafb1aaeafe8c8669114a02b7226.tar.gz
blackbird-op-linux-3ab1aff89477dafb1aaeafe8c8669114a02b7226.zip
TPM: Zero buffer whole after copying to userspace
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 <seth.forshee@canonical.com> Cc: Debora Velarde <debora@linux.vnet.ibm.com> Cc: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Cc: Marcel Selhorst <m.selhorst@sirrix.com> Cc: tpmdd-devel@lists.sourceforge.net Cc: stable@vger.kernel.org Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud