View | Details | Raw Unified | Return to bug 61352
Collapse All | Expand All

(-)samba-2.2.11/source/smbd/vfs.c (-1 lines)
Lines 784-790 Link Here
784
	*dir2 = *wd = *base_name = *newname = 0;
784
	*dir2 = *wd = *base_name = *newname = 0;
785
785
786
	if (widelinks) {
786
	if (widelinks) {
787
		unix_clean_name(s);
788
		/* can't have a leading .. */
787
		/* can't have a leading .. */
789
		if (strncmp(s,"..",2) == 0 && (s[2]==0 || s[2]=='/')) {
788
		if (strncmp(s,"..",2) == 0 && (s[2]==0 || s[2]=='/')) {
790
			DEBUG(3,("Illegal file name? (%s)\n",s));
789
			DEBUG(3,("Illegal file name? (%s)\n",s));

Return to bug 61352