diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-01-14 02:51:37 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-01-14 02:51:37 +0000 |
commit | 6d030555a113ea8b6bfac51d90dce6cd76719caa (patch) | |
tree | 7c1986c9edb1bda59b07ac05effac18b441b27ad /source3/libsmb | |
parent | cfe3a1731c0cc2d66781909c9b12a111455edd37 (diff) | |
download | samba-6d030555a113ea8b6bfac51d90dce6cd76719caa.tar.gz samba-6d030555a113ea8b6bfac51d90dce6cd76719caa.tar.bz2 samba-6d030555a113ea8b6bfac51d90dce6cd76719caa.zip |
query_alt_name takes a forced unicode string in win2000. It is not
null terminated.
Thanks to Metze for finding this.
(This used to be commit e4ce26332b8f876e25ff9baf06d4767a473e2676)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clirap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 792a3e7aa0..f8f840abaa 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -727,7 +727,7 @@ NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstrin return NT_STATUS_INVALID_NETWORK_RESPONSE; } - clistr_pull(cli, alt_name, rdata+4, sizeof(fstring), len, 0); + clistr_pull(cli, alt_name, rdata+4, sizeof(fstring), len, STR_UNICODE); SAFE_FREE(rdata); SAFE_FREE(rparam); |