Bugzilla – Attachment #24313: samba-CAN-2004-0815.patch for bug #61352
*dir2 = *wd = *base_name = *newname = 0;
if (widelinks) {
unix_clean_name(s);
/* can't have a leading .. */
if (strncmp(s,"..",2) == 0 && (s[2]==0 || s[2]=='/')) {
DEBUG(3,("Illegal file name? (%s)\n",s));