summaryrefslogtreecommitdiff
path: root/source3/smbd/connection.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-07-20 01:32:56 +0000
committerTim Potter <tpot@samba.org>2001-07-20 01:32:56 +0000
commit8678c6d6f67f9f1f4f68eba4a3dc1bf87f4abc3a (patch)
treeb06171bbd91c81dd9afa949181eaf35c8eb5204f /source3/smbd/connection.c
parentd3f1d7f7b670ce59c2349f2687ae3f6708be3254 (diff)
downloadsamba-8678c6d6f67f9f1f4f68eba4a3dc1bf87f4abc3a.tar.gz
samba-8678c6d6f67f9f1f4f68eba4a3dc1bf87f4abc3a.tar.bz2
samba-8678c6d6f67f9f1f4f68eba4a3dc1bf87f4abc3a.zip
It looks like the rpc client code in libsmb hasn't been converted to the
new internal string stuff. The main problem is that some unicode strings are null terminated and some aren't. There's no rhyme or reason to it - some pipes have 99% of the strings terminated and some have 99% unterminated. To avoid having to actually know the termination policy, I propose a set of functions that take a UNISTR2* and use the length contained there. Added rpcstr_pull_unistr2_string() function to convert a unicode string of dubious termination to a fstring. (This used to be commit e5b62b4961769e45bc377be6180ca61ef5f6c22e)
Diffstat (limited to 'source3/smbd/connection.c')
0 files changed, 0 insertions, 0 deletions