s3: VFS: shadow_copy2: Fix length comparison to ensure we don't overstep a length.
commit65c38d7f256cf5fdb44b9945aae4be9f3df14543
authorJeremy Allison <jra@samba.org>
Fri, 20 Jan 2017 19:48:40 +0000 (20 11:48 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Feb 2017 10:42:22 +0000 (15 11:42 +0100)
treeecd42deafa3f6fe3d9fa13e0f54060fa488d0924
parent0d159a21294782aecfebd36109c8f3aec4f35fc8
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>
(backported from commit 37ef8d3f65bd1215717eb51b2e1cdb84a7bed348)
source3/modules/vfs_shadow_copy2.c