]> Pileus Git - ~andy/linux/commit
drivers/char/tpm/tpm_ppi: use strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Thu, 28 Feb 2013 22:24:50 +0000 (16:24 -0600)
committerKent Yoder <key@linux.vnet.ibm.com>
Fri, 12 Apr 2013 17:17:28 +0000 (12:17 -0500)
commite361200bfc3b72de8db246de209da55d6d60fd34
tree463b2b5295fde04a24daf82054e8cb0b16243f23
parent2d089f82aeb59fd58f33f2bbf4288e4049426e17
drivers/char/tpm/tpm_ppi: use strlcpy instead of strncpy

 Ensure that the 'version' string includes a NULL terminator after its
copied out of the acpi table.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/tpm_ppi.c