Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e361200b authored by Chen Gang's avatar Chen Gang Committed by Kent Yoder
Browse files

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: default avatarChen Gang <gang.chen@asianux.com>
Signed-off-by: default avatarKent Yoder <key@linux.vnet.ibm.com>
parent 2d089f82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment