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: NChen Gang <gang.chen@asianux.com> Signed-off-by: NKent Yoder <key@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录