731a06c704
strlen(src) should not be used as the length in strncpy. Use memcpy since we know the length of the string, and ensure that we NULL-terminate regardless of length Signed-off-by: Kent Russell <kent.russell@amd.com> Change-Id: I21cc6d106510c69464e7ac9d3fc7da3a1e6d1a68