Strings should be copied with strlcpy instead of strncpy when they will
later be printed via %s. This guarantees that they terminate with a
NUL '\0' character and do not run pass the end of the allocated string.
This is only for sample code, but it should stil represent a good
Link: http://lkml.kernel.org/p/51C2E204.firstname.lastname@example.orgSigned-off-by: Zhao Hongjiang <email@example.com>
Signed-off-by: Steven Rostedt <firstname.lastname@example.org>