summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-06 12:14:08 +0100
committerVolker Lendecke <vl@samba.org>2008-11-08 10:42:28 +0100
commit807ad174b288e4c3d36ed02e5ef02cd7a848ce0e (patch)
treeb9a38442c94f36a5c07e9bf5c189315403056584 /source3/smbd
parent52958ea115ab3d1d8cebaad47b5ffff7fc86a4cd (diff)
downloadsamba-807ad174b288e4c3d36ed02e5ef02cd7a848ce0e.tar.gz
samba-807ad174b288e4c3d36ed02e5ef02cd7a848ce0e.tar.bz2
samba-807ad174b288e4c3d36ed02e5ef02cd7a848ce0e.zip
Remove a direct inbuf reference from reply_nttrans()
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 565f2cbb5f..c7a8bf7650 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -2689,8 +2689,7 @@ void reply_nttrans(struct smb_request *req)
goto bad_param;
}
- memcpy( state->setup, &req->inbuf[smb_nt_SetupStart],
- state->setup_count);
+ memcpy(state->setup, req->vwv+19, state->setup_count);
dump_data(10, (uint8 *)state->setup, state->setup_count);
}