commit | 3321c07ae5068568cd61ac9f4ba749006a7185c9 | [log] [tgz] |
---|---|---|
author | Peter Huewe <huewe.external.infineon@googlemail.com> | Thu Sep 15 14:47:42 2011 -0300 |
committer | James Morris <jmorris@namei.org> | Fri Sep 23 09:46:41 2011 +1000 |
tree | bcd169e21c2f71651ab840ee77152094db0c3deb | |
parent | 6b07d30aca7e52f2881b8c8c20c8a2cd28e8b3d3 [diff] |
TPM: Zero buffer after copying to userspace Since the buffer might contain security related data it might be a good idea to zero the buffer after we have copied it to userspace. This got assigned CVE-2011-1162. Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Cc: Stable Kernel <stable@kernel.org> Signed-off-by: James Morris <jmorris@namei.org>