diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-08 17:02:00 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-10 12:24:23 +0200 |
commit | 12ed9ca36a4f8d2f3798f357a619389c26c9feea (patch) | |
tree | 2f468119f26d3b0625b793c6f6c07f633a139dab /source3/utils/debug2html.c | |
parent | db1e58256861c50a9baed8efc862ba5b5834e28b (diff) | |
download | samba-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/utils/debug2html.c')
0 files changed, 0 insertions, 0 deletions