summaryrefslogtreecommitdiff
path: root/source3/torture/mangle_test.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-08 17:02:00 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-10 12:24:23 +0200
commit12ed9ca36a4f8d2f3798f357a619389c26c9feea (patch)
tree2f468119f26d3b0625b793c6f6c07f633a139dab /source3/torture/mangle_test.c
parentdb1e58256861c50a9baed8efc862ba5b5834e28b (diff)
downloadsamba-12ed9ca36a4f8d2f3798f357a619389c26c9feea.tar.gz
samba-12ed9ca36a4f8d2f3798f357a619389c26c9feea.tar.bz2
samba-12ed9ca36a4f8d2f3798f357a619389c26c9feea.zip
s3:smbd: fix parsing of invalid SMB2 requests.
Because of 0 - 2 => 0xFFFFFFFE, we got EMSGSIZE from the tstream layer. And terminate the transport connection. Instead we should let the caller deal with the invalid parameter, when checking the body size. So the caller always gets at least a 2 byte body. metze
Diffstat (limited to 'source3/torture/mangle_test.c')
0 files changed, 0 insertions, 0 deletions