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)
commit4aed1b7921a3bfef460f8602467ac0dca9561032
tree80ddacee4884139f4b0876cb9d937cdb1da53794
parent640e3a8ce865a72b171bdf15c8cf5afc2987a5d3
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.
source/smb_server/reply.c