diff options
author | Jeremy Allison <jra@samba.org> | 2007-04-19 22:40:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:30 -0500 |
commit | 2d80a96120a5fe2fe726f00746d36d85044c4bdb (patch) | |
tree | 5b0251fdb656623c814357fb6e1dd98366906175 /source/smbd/aio.c | |
parent | 3b24dae9e73b244540a68b631b428a4d0f57440b (diff) | |
download | samba-2d80a96120a5fe2fe726f00746d36d85044c4bdb.tar.gz samba-2d80a96120a5fe2fe726f00746d36d85044c4bdb.tar.xz samba-2d80a96120a5fe2fe726f00746d36d85044c4bdb.zip |
r22391: Looks bigger than it is. Make "inbuf" available
to all callers of smb_setlen (via set_message()
calls). This will allow the server to reflect back
the correct encryption context.
Jeremy.
Diffstat (limited to 'source/smbd/aio.c')
-rw-r--r-- | source/smbd/aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/aio.c b/source/smbd/aio.c index 6b403e1e365..0d4760a2665 100644 --- a/source/smbd/aio.c +++ b/source/smbd/aio.c @@ -418,7 +418,7 @@ static int handle_aio_read_complete(struct aio_extra *aio_ex) aio_ex->acb.aio_nbytes, (int)nread ) ); } - smb_setlen(outbuf,outsize - 4,aio_ex->inbuf); + smb_setlen(aio_ex->inbuf,outbuf,outsize - 4); show_msg(outbuf); if (!send_smb(smbd_server_fd(),outbuf)) { exit_server_cleanly("handle_aio_read_complete: send_smb " |