diff options
author | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2010-06-14 13:58:22 -0300 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-06-15 09:26:28 +1000 |
commit | 02a077c52ef7631275a79862ffd9f3dbe9d38bc2 (patch) | |
tree | e7101d617847953dbf28f8658251b7401c4135b3 /kernel/uid16.c | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) | |
download | talos-obmc-linux-02a077c52ef7631275a79862ffd9f3dbe9d38bc2.tar.gz talos-obmc-linux-02a077c52ef7631275a79862ffd9f3dbe9d38bc2.zip |
TPM: ReadPubEK output struct fix
This patch adds a missing element of the ReadPubEK command output,
that prevents future overflow of this buffer when copying the
TPM output result into it.
Prevents a kernel panic in case the user tries to read the
pubek from sysfs.
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions