svn commit: samba r2219 - in branches/SAMBA_3_0/source/smbd: .
jra at samba.org
jra at samba.org
Fri Sep 3 20:30:32 GMT 2004
Author: jra
Date: 2004-09-03 20:30:31 +0000 (Fri, 03 Sep 2004)
New Revision: 2219
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/smbd&rev=2219&nolog=1
Log:
Remember to count bad_components only on pathname boundaries.
Jeremy.
Modified:
branches/SAMBA_3_0/source/smbd/reply.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/reply.c 2004-09-03 20:30:09 UTC (rev 2218)
+++ branches/SAMBA_3_0/source/smbd/reply.c 2004-09-03 20:30:31 UTC (rev 2219)
@@ -149,10 +149,10 @@
return NT_STATUS_INVALID_PARAMETER;
}
}
- start_of_name_component = False;
- if (num_bad_components) {
+ if (start_of_name_component && num_bad_components) {
num_bad_components++;
}
+ start_of_name_component = False;
}
if (NT_STATUS_EQUAL(ret, NT_STATUS_OBJECT_NAME_INVALID)) {
More information about the samba-cvs
mailing list