summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-11 21:22:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:52 -0500
commit86b7b6e9f6943d4d4614ab7d6378a96641ee3888 (patch)
treea1700e30e1b7f690675f70dcf27252f7ccb9bda5 /source4/smb_server
parentae274c84d734165f6af8356a15d38c56b7d07406 (diff)
downloadsamba-86b7b6e9f6943d4d4614ab7d6378a96641ee3888.tar.gz
samba-86b7b6e9f6943d4d4614ab7d6378a96641ee3888.tar.bz2
samba-86b7b6e9f6943d4d4614ab7d6378a96641ee3888.zip
r1741: fixed padding of setpathinfo in server
(This used to be commit 2b41de48b24d5850a2e3a5834916403f44a6d9ed)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/trans2.c b/source4/smb_server/trans2.c
index 3788b44de9..f080cd2abc 100644
--- a/source4/smb_server/trans2.c
+++ b/source4/smb_server/trans2.c
@@ -840,7 +840,7 @@ static NTSTATUS trans2_setpathinfo(struct smbsrv_request *req, struct smb_trans2
blob = &trans->in.data;
st.generic.level = (enum smb_setfileinfo_level)level;
- trans2_pull_blob_string(req, &trans->in.params, 4, &st.generic.file.fname, 0);
+ trans2_pull_blob_string(req, &trans->in.params, 6, &st.generic.file.fname, 0);
if (st.generic.file.fname == NULL) {
return NT_STATUS_FOOBAR;
}