mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r1741: fixed padding of setpathinfo in server
(This used to be commit 2b41de48b2
)
This commit is contained in:
parent
ae274c84d7
commit
86b7b6e9f6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user