CVS update: samba/source/lib

Tim Potter tpot at samba.org
Fri Jul 20 11:32:58 EST 2001


Date:	Thu Jul 19 18:32:57 2001
Author:	tpot

Update of /data/cvs/samba/source/lib
In directory va:/tmp/cvs-serv2346/lib

Modified Files:
	util_unistr.c 
Log Message:
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.


Revisions:
util_unistr.c		1.65 => 1.66
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_unistr.c?r1=1.65&r2=1.66




More information about the samba-cvs mailing list