FSCTL_GET_SHADOW_COPY_DATA: Initialize output array to zero
commit101ae20a2f6ef1d79012bae09b965ac7d43d1692
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Mon, 5 Aug 2013 18:16:22 +0000 (5 11:16 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 19 May 2014 10:28:07 +0000 (19 12:28 +0200)
treec557e8b34c4dafb9358eacfcdb72d0e97c1b64f1
parent7d90c1b0c857614ea6be2685d1f62fa5a7de810f
FSCTL_GET_SHADOW_COPY_DATA: Initialize output array to zero

Otherwise num_volumes and the end marker can return uninitialized data
to the client.

Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
(cherry picked from commit 30e724cbff1ecd90e5a676831902d1e41ec1b347)
source3/modules/vfs_default.c