s3-vfs: Do not deref a NULL pointer in shadow_copy2_snapshot_to_gmt()
authorAndreas Schneider <asn@samba.org>
Thu, 16 Feb 2017 16:15:38 +0000 (17:15 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 23 Feb 2017 02:18:10 +0000 (03:18 +0100)
commite6105f92cd24de49acecd67a9f0c2c53323fe2e9
tree9a8b6a7c16110ab9cad02b7dc92de4e54759ca9e
parent67b978bb26b3d0009b511bb2ae96d249041827a5
s3-vfs: Do not deref a NULL pointer in shadow_copy2_snapshot_to_gmt()

Found by covscan.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_shadow_copy2.c