1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/lib
Tim Potter 8678c6d6f6 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 e5b62b4961)
2001-07-20 01:32:56 +00:00
..
.cvsignore - fixed cast warnings 1998-10-05 12:35:30 +00:00
access.c strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. 2001-07-04 07:36:09 +00:00
bitmap.c Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR 2001-03-11 00:32:10 +00:00
charcnv.c fixed the auto-initialisation of the iconv descriptors 2001-07-08 18:22:04 +00:00
charset.c The big character set handling changeover! 2001-07-04 07:15:53 +00:00
cmd_interp.c missed a couple of strchr calls 2001-07-04 07:39:01 +00:00
crc32.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
debug.c got rid of insanely verbose debug messages on startup 2001-07-06 03:18:54 +00:00
domain_namemap.c Unicode conversion fix in Japanese environment from Motonobu TAKAHASHI. 1999-12-13 19:17:40 +00:00
error.c Changes from APPLIANCE_HEAD (per Tim Potter): 2000-09-01 18:49:26 +00:00
fault.c Added sys_fork() and sys_getpid() functions to stop the overhead 2000-05-02 02:23:41 +00:00
fsusage.c split fsusage() into a separate module (to fix linking problems with 2000-04-19 08:23:13 +00:00
genrand.c Fixed compiler warning. 2001-05-29 07:34:51 +00:00
getsmbpass.c Small tidyups for gcc in 'preen' mode.... 1998-10-17 17:41:13 +00:00
hash.c string_hash() should be static. hash_clear() should be void. 2001-05-12 20:15:39 +00:00
hmacmd5.c Add backend encryption support for NTLMv2. 2001-07-07 07:00:15 +00:00
iconv.c fixed a silly bug in the internal UTF8 implementation 2001-07-06 08:59:50 +00:00
interface.c strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. 2001-07-04 07:36:09 +00:00
interfaces.c fix interfaces.c for aix 3.2.5 2001-05-07 03:21:23 +00:00
md4.c Add backend encryption support for NTLMv2. 2001-07-07 07:00:15 +00:00
md5.c Add backend encryption support for NTLMv2. 2001-07-07 07:00:15 +00:00
messages.c use LDSHFLAGS not -shared in several places 2001-06-04 05:13:59 +00:00
ms_fnmatch.c The big character set handling changeover! 2001-07-04 07:15:53 +00:00
netatalk.c Ok - this is the 64 bit widening check in. It changes the configure 1998-09-03 18:40:31 +00:00
pidfile.c getting and setting security descriptors on printers now works 2000-05-27 09:53:11 +00:00
readline.c Some versions of readline don't have rl_completion_func_t. )-: 2001-05-07 02:03:32 +00:00
replace.c include/ntdomain.h: 2001-04-02 22:27:40 +00:00
select.c Always increment even if the read fails (otherwise we spin if we hit the kernel bug...). 2001-02-23 00:46:28 +00:00
signal.c fixed a bug in BlockSignals() for systems that don't have 2000-06-12 06:09:39 +00:00
smbrun.c Merge of Andrew's changes in 2.2. 2001-04-13 19:12:06 +00:00
snprintf.c replace modf so we don't need the math library 2001-05-06 15:19:25 +00:00
substitute.c strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. 2001-07-04 07:36:09 +00:00
sysacls.c The big character set handling changeover! 2001-07-04 07:15:53 +00:00
system.c Wrapped dlerror() in the same way as the other dlxxx() calls. 2001-07-06 18:45:59 +00:00
talloc.c Made talloc_realloc() semantics match realloc(). JF was complaining :-). 2001-07-02 22:17:58 +00:00
time.c Another large patch for the passdb rewrite. 2000-11-21 05:55:16 +00:00
ufc.c Fixed warnings and made const-safe so it has the correct prototype. 2001-07-03 21:07:26 +00:00
username.c strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. 2001-07-04 07:36:09 +00:00
util_array.c simple mods to add msrpc pipe redirection. default behaviour: fall back 2000-01-03 19:19:48 +00:00
util_file.c strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. 2001-07-04 07:36:09 +00:00
util_getent.c lib/util_getent.c: removed debug code. 2001-06-12 01:49:30 +00:00
util_list.c Sync up handle creation with 2.2 branch. We can now join AS/U domains and 2001-03-07 23:59:13 +00:00
util_seaccess.c Don't use variables called "acl" as it's the name of a function in Solaris. 2001-04-27 21:20:20 +00:00
util_sec.c added sec_initial_uid() function so we can ask if a file is owned by 2001-07-08 18:22:46 +00:00
util_sid.c strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. 2001-07-04 07:36:09 +00:00
util_sock.c much better handling of broken DNS servers 2001-07-10 02:53:48 +00:00
util_str.c formatting fixes 2001-07-06 11:50:45 +00:00
util_unistr.c It looks like the rpc client code in libsmb hasn't been converted to the 2001-07-20 01:32:56 +00:00
util.c Add backend encryption support for NTLMv2. 2001-07-07 07:00:15 +00:00
wins_srv.c Fixed %d printf with unsigned long arg. 2000-10-11 17:26:14 +00:00