diff options
author | Tim Potter <tpot@samba.org> | 2001-09-13 00:30:16 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-09-13 00:30:16 +0000 |
commit | 95df7ede465d835eb8ca1d1466c5153caf1a0d71 (patch) | |
tree | 122a16e45c135d3d82ceb0e116860d52df9566b2 /source/msdfs | |
parent | 6399cf490dffbd162afa06f18cdd6e0364db567d (diff) | |
download | samba-95df7ede465d835eb8ca1d1466c5153caf1a0d71.tar.gz samba-95df7ede465d835eb8ca1d1466c5153caf1a0d71.tar.xz samba-95df7ede465d835eb8ca1d1466c5153caf1a0d71.zip |
Terminate dfs referral alternate path string. DFS now works again in head
- hooray!
Diffstat (limited to 'source/msdfs')
-rw-r--r-- | source/msdfs/msdfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/msdfs/msdfs.c b/source/msdfs/msdfs.c index 8417474ed2d..51d60608a28 100644 --- a/source/msdfs/msdfs.c +++ b/source/msdfs/msdfs.c @@ -515,7 +515,7 @@ static int setup_ver3_dfs_referral(char* pathname, char** ppdata, /* copy referred path into current offset */ unilen = rpcstr_push(pdata+uni_curroffset, ref->alternate_path, - -1, STR_UNICODE); + -1, STR_UNICODE|STR_TERMINATE); SSVAL(pdata,offset+16,uni_curroffset-offset); /* copy 0x10 bytes of 00's in the ServiceSite GUID */ memset(pdata+offset+18,'\0',16); |