Use strlcpy instead of strncpy when copying strings to make sure the copy is always null-terminated. Change-Id: I12d4883c22a180e2136dc8c85bc0394ddcdcb706