Tim Gardner 3ab1aff894 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>
2012-02-14 16:43:38 -02:00
..
2012-02-02 14:00:43 +05:30
2012-01-20 08:24:22 -08:00
2012-01-14 15:07:24 -08:00
2012-02-08 19:06:30 -08:00
2012-02-14 10:45:42 +11:00
2012-01-23 08:44:53 -08:00
2012-02-01 18:29:33 -08:00
2012-02-14 10:45:42 +11:00
2012-01-13 10:12:23 -08:00
2012-02-07 15:54:02 -08:00
2012-01-02 13:04:55 +01:00
2012-01-11 23:58:47 -05:00