libcli/smb: smb1cli_inbuf_parse_chain() and smb1cli_conn_dispatch_incoming() should...
commit1111d46cc52e868cf4894909b71f1574196e2887
authorJeremy Allison <jra@samba.org>
Wed, 13 Mar 2013 22:23:52 +0000 (13 15:23 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 20 Mar 2013 16:32:25 +0000 (20 09:32 -0700)
tree0d8d1d7217d2ebe9ff94d0f3386420dd93663d68
parent53d348dff082f9c18e06f99ec646127467f339e7
libcli/smb: smb1cli_inbuf_parse_chain() and smb1cli_conn_dispatch_incoming() should use smb_len_tcp.

They have to cope with large READX call replies that have
a length greater than smb_len_nbt() can handle.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
libcli/smb/smbXcli_base.c