Replacing strncpy with strlcpy to avoid strings that lacks null terminate. Signed-off-by: Fugang Duan <B38611@freescale.com>