Make the patch safer by using strlcpy() instead of strncpy(), and by