s3: VFS: shadow_copy2: Fix length comparison to ensure we don't overstep a length.
authorJeremy Allison <jra@samba.org>
Fri, 20 Jan 2017 19:48:40 +0000 (11:48 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 30 Jan 2017 17:39:18 +0000 (18:39 +0100)
commit37ef8d3f65bd1215717eb51b2e1cdb84a7bed348
tree25892b3b3c973eacaf2e31c484755e2bfda19e10
parent979e39252bcc88e8aacb543b8bf322dd6f17fe7f
s3: VFS: shadow_copy2: Fix length comparison to ensure we don't overstep a length.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12531

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