s3:smb2_server: protect against integer wrap with "smb2 max credits = 65535"
authorStefan Metzmacher <metze@samba.org>
Thu, 29 Jan 2015 09:12:30 +0000 (10:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 5 Feb 2015 22:44:30 +0000 (23:44 +0100)
commit9f56abbc4d8a9acc540c94d964d4b9e408208da5
tree18e0bf3ea61b348556205b457b1d9f2ac91061c8
parentda4e83236b8d3bcf5977750490d82d265980f148
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-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Thu Feb  5 23:44:30 CET 2015 on sn-devel-104
source3/smbd/smb2_server.c