diff options
author | Volker Lendecke <vl@samba.org> | 2008-11-08 15:44:20 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-11-28 08:23:12 +0100 |
commit | 599707c87a739811ba426e44b11189e1ddba078e (patch) | |
tree | 49774cd03e6b6bd3b10bab12094d6f7dac21d075 /source3 | |
parent | 6a627b440e8b3f42db2a8a27047dd3482bad0d28 (diff) | |
download | samba-599707c87a739811ba426e44b11189e1ddba078e.tar.gz samba-599707c87a739811ba426e44b11189e1ddba078e.tar.bz2 samba-599707c87a739811ba426e44b11189e1ddba078e.zip |
Remove two direct inbuf references from reply_sesssetup_and_X_spnego()
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/sesssetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index fde6cdc160..24a201013a 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -1171,7 +1171,7 @@ static void reply_sesssetup_and_X_spnego(struct smb_request *req) const char *p2; uint16 data_blob_len = SVAL(req->vwv+7, 0); enum remote_arch_types ra_type = get_remote_arch(); - int vuid = SVAL(req->inbuf,smb_uid); + int vuid = req->vuid; user_struct *vuser = NULL; NTSTATUS status = NT_STATUS_OK; uint16 smbpid = req->smbpid; @@ -1203,7 +1203,7 @@ static void reply_sesssetup_and_X_spnego(struct smb_request *req) file_save("negotiate.dat", blob1.data, blob1.length); #endif - p2 = (char *)req->inbuf + smb_vwv13 + data_blob_len; + p2 = (char *)req->buf + data_blob_len; p2 += srvstr_pull_req_talloc(talloc_tos(), req, &tmp, p2, STR_TERMINATE); |