s3:smb2_server: protect against integer wrap with "smb2 max credits = 65535"
commitfe52bd48a18e1f52d79ec0edfabbb6719412ba55
authorStefan Metzmacher <metze@samba.org>
Thu, 29 Jan 2015 09:12:30 +0000 (29 10:12 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 2 Feb 2015 23:04:10 +0000 (3 00:04 +0100)
treec72fc17be181a0934dd9125bd7962ccf0e9ab09a
parentdf2ec473a6a3a01c2faec01c5a97ed90669a1c9d
s3:smb2_server: protect against integer wrap with "smb2 max credits = 65535"

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9702

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jan 29 14:58:40 CET 2015 on sn-devel-104

(similar to commit 8aed0fc38ae28cce7fd1a443844a865265fc719c)

Autobuild-User(v4-1-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-1-test): Tue Feb  3 00:04:10 CET 2015 on sn-devel-104
source3/smbd/smb2_server.c