summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-09 11:06:30 +0100
committerVolker Lendecke <vl@samba.org>2010-08-04 13:56:11 +0200
commit68c6e07591ed35c2c6aca2e1979ee08ae469c13c (patch)
tree3516da00aff47c5d5bddef1bf3ae23e93ac6d5bd
parent72cd5bcd58a2c85ba7257dfcfca61af3ddc1f590 (diff)
downloadsamba-68c6e07591ed35c2c6aca2e1979ee08ae469c13c.tar.gz
samba-68c6e07591ed35c2c6aca2e1979ee08ae469c13c.tar.bz2
samba-68c6e07591ed35c2c6aca2e1979ee08ae469c13c.zip
s3: Fix in-path shadowcopy2 module
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
-rw-r--r--source3/modules/vfs_shadow_copy2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index a4265474bf..8ac42e625c 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -661,6 +661,7 @@ static char *shadow_copy2_realpath(vfs_handle_struct *handle,
}
copy[gmt - fname] = '.';
+ copy[gmt - fname + 1] = '\0';
DEBUG(10, ("calling NEXT_REALPATH with %s\n", copy));
result = SMB_VFS_NEXT_REALPATH(handle, copy, resolved_path);