diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-12-06 13:53:45 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-03-05 10:06:24 -0800 |
commit | 2ec49cf57c88735be962b0681b487df5efe7ed6b (patch) | |
tree | 0a0f501d76cd5ca746742e9d5044030fe7d59db3 /source3/smbd/reply.c | |
parent | cce1eaea91088efd742891befdaafade0c1fdce6 (diff) | |
download | samba-2ec49cf57c88735be962b0681b487df5efe7ed6b.tar.gz samba-2ec49cf57c88735be962b0681b487df5efe7ed6b.tar.xz samba-2ec49cf57c88735be962b0681b487df5efe7ed6b.zip |
s3:smbd: take less than SMB_BUFFER_SIZE_MIN ('500') as header overhead in ipc.c
We're now sure that sconn->smb1.sessions.max_send is >= SMB_BUFFER_SIZE_MIN.
in order to garantee some progress we need to make sure our assumed
header overhead is less than SMB_BUFFER_SIZE_MIN.
Assuming 372 bytes for the SMBtrans headers should still be more than
enough.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10422
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
0 files changed, 0 insertions, 0 deletions