r3493: fixed a bug in readx reply where the client specifies an invalid high
authorAndrew Tridgell <tridge@samba.org>
Tue, 2 Nov 2004 22:01:11 +0000 (22:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:21 +0000 (13:05 -0500)
commitacb23b2c5fa02ebbee762a8bf4b9d1fec40d4fea
treefc172c72d1054eb73d37549a4bc8b0c7d32cca14
parentbd6bc9c5ee434793686981413c14646a06cf092f
r3493: fixed a bug in readx reply where the client specifies an invalid high
part of the maxcnt. This caused an allocation failure and server exit.

Note: we need to go back over all the places in the core smb_server
that can cause allocation failures based on user input and fix them to
instead produce a SMB error.

Thanks to Susan for finding this bug.
(This used to be commit 4aed1b7921a3bfef460f8602467ac0dca9561032)
source4/smb_server/reply.c