diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-09 11:06:30 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-04 13:56:11 +0200 |
commit | 68c6e07591ed35c2c6aca2e1979ee08ae469c13c (patch) | |
tree | 3516da00aff47c5d5bddef1bf3ae23e93ac6d5bd /source3/modules | |
parent | 72cd5bcd58a2c85ba7257dfcfca61af3ddc1f590 (diff) | |
download | samba-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>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_shadow_copy2.c | 1 |
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); |