svn commit: samba r23764 - in branches: SAMBA_3_0/source/smbd
SAMBA_3_0_26/source/smbd
vlendec at samba.org
vlendec at samba.org
Mon Jul 9 13:04:46 GMT 2007
Author: vlendec
Date: 2007-07-09 13:04:44 +0000 (Mon, 09 Jul 2007)
New Revision: 23764
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23764
Log:
Do restore_case_semantics in an error path. Jeremy, please check!
Modified:
branches/SAMBA_3_0/source/smbd/nttrans.c
branches/SAMBA_3_0_26/source/smbd/nttrans.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/nttrans.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/nttrans.c 2007-07-09 12:59:17 UTC (rev 23763)
+++ branches/SAMBA_3_0/source/smbd/nttrans.c 2007-07-09 13:04:44 UTC (rev 23764)
@@ -731,6 +731,7 @@
/* Can't open a temp directory. IFS kit test. */
if (file_attributes & FILE_ATTRIBUTE_TEMPORARY) {
+ restore_case_semantics(conn, file_attributes);
END_PROFILE(SMBntcreateX);
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}
Modified: branches/SAMBA_3_0_26/source/smbd/nttrans.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/nttrans.c 2007-07-09 12:59:17 UTC (rev 23763)
+++ branches/SAMBA_3_0_26/source/smbd/nttrans.c 2007-07-09 13:04:44 UTC (rev 23764)
@@ -725,6 +725,7 @@
/* Can't open a temp directory. IFS kit test. */
if (file_attributes & FILE_ATTRIBUTE_TEMPORARY) {
+ restore_case_semantics(conn, file_attributes);
END_PROFILE(SMBntcreateX);
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}
More information about the samba-cvs
mailing list