[PATCH] replace strcpy() with safe_strncpy()