diff options
author | Jeremy Allison <jra@samba.org> | 2013-08-02 17:05:58 -0700 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2013-08-04 16:54:04 +0200 |
commit | b35a27b77954992fc1e6db446bbfa6cfbb7547a1 (patch) | |
tree | 712da5edf6a92054d4651d8957af87fe46438b7a /auth | |
parent | 852c9ac34dbef66d0b2619554c611157c2fab771 (diff) | |
download | samba-b35a27b77954992fc1e6db446bbfa6cfbb7547a1.tar.gz samba-b35a27b77954992fc1e6db446bbfa6cfbb7547a1.tar.bz2 samba-b35a27b77954992fc1e6db446bbfa6cfbb7547a1.zip |
Ensure we can never integer wrap when working on client-supplied max_data_bytes.
This would only be possible with SMB2, and is already checked in the upper
SMB2 layers, but it really doesn't hurt to have these extra checks at time
of use also.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Sun Aug 4 16:54:04 CEST 2013 on sn-devel-104
Diffstat (limited to 'auth')
0 files changed, 0 insertions, 0 deletions