s3: libsmb: Do some hardening in the receive processing of cli_shadow_copy_data_recv().
commit336da637541fba13586af6fc2cb9d143d656e87e
authorJeremy Allison <jra@samba.org>
Thu, 18 Aug 2016 19:06:23 +0000 (18 12:06 -0700)
committerUri Simchoni <uri@samba.org>
Fri, 19 Aug 2016 18:03:13 +0000 (19 20:03 +0200)
tree34072b1f0ef5981897983ba89515b0aa75f20924
parenta9fe27e17ce55461946037bb25a432da340095ab
s3: libsmb: Do some hardening in the receive processing of cli_shadow_copy_data_recv().

Protect against malicious servers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/libsmb/clifile.c