1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
samba-mirror/source3
Andrew Tridgell ec879eacc2 This removes the 3rd argument from init_unistr2(). There were 240
calls to init_unistr2() in the code and every one of them got the 3rd
argument incorrect, so I thought it best just to remove the argument.

The incorrect usage was caused by callers using strlen() to determine
the length of the string. The 3rd argument to init_unistr2() was
supposed to be the character length, not the byte length of the
string, so for non-english this could come out wrong.

I also removed the bogus 'always allocate at least 256 bytes'
hack. There may be some code that relies on this, but if there is then
the code is broken and needs fixing.
(This used to be commit b9eff31b14)
2003-01-17 04:58:45 +00:00
..
aparser replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down 2001-09-10 11:08:57 +00:00
auth Updates to the NTLMSSP code again - moving the base64 decode fuctionality out 2003-01-16 03:29:54 +00:00
bin ignore editreg 2002-12-12 20:52:21 +00:00
client s/WIFSIGNALLED/WIFSIGNALED/g 2003-01-15 23:11:45 +00:00
codepages removed old unused files 2001-10-03 13:05:59 +00:00
groupdb small merges from SAMBA_3_0; mostly typos, renames, etc... 2003-01-15 18:31:46 +00:00
include Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD. 2003-01-16 20:08:33 +00:00
intl BIG patch... 2003-01-02 09:07:17 +00:00
lib fix some undefined behaviour with increments in C. In theory a 2003-01-17 04:09:23 +00:00
libads * removed unused variable from rpcclient code 2003-01-15 16:07:14 +00:00
libsmb (missed in last commit) 2003-01-16 04:40:07 +00:00
locking Fix problem with "hide unreadable". stat file opens are baaack :-). 2003-01-03 19:07:26 +00:00
modules Add a new VFS module, that just fiddles the file permissions. Still need to 2002-12-30 04:19:57 +00:00
msdfs Add msdfs proxy functionality to HEAD. 2002-12-29 23:29:08 +00:00
nmbd The last of the fstring/pstring mixups, and an extra 'static'. 2003-01-14 06:46:14 +00:00
nsswitch Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD. 2003-01-16 20:08:33 +00:00
pam_smbpass Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass. 2002-11-24 08:38:53 +00:00
param Patch from metze to to make testparm show values for 'workgroup', 'netbios 2003-01-13 13:03:25 +00:00
passdb Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD. 2003-01-16 20:08:33 +00:00
po added fr.msg from Fanch 2001-12-09 17:06:45 +00:00
popt stop popt from doing its own intl stuff 2001-11-25 00:10:28 +00:00
printing Fix warnings by getting the function into a shape the autoprototyper will 2003-01-15 05:56:12 +00:00
profile More compile warnings. 2002-08-22 17:46:25 +00:00
python This removes the 3rd argument from init_unistr2(). There were 240 2003-01-17 04:58:45 +00:00
registry This removes the 3rd argument from init_unistr2(). There were 240 2003-01-17 04:58:45 +00:00
rpc_client This removes the 3rd argument from init_unistr2(). There were 240 2003-01-17 04:58:45 +00:00
rpc_parse This removes the 3rd argument from init_unistr2(). There were 240 2003-01-17 04:58:45 +00:00
rpc_server This removes the 3rd argument from init_unistr2(). There were 240 2003-01-17 04:58:45 +00:00
rpcclient This removes the 3rd argument from init_unistr2(). There were 240 2003-01-17 04:58:45 +00:00
sam some more work on gums. 2002-12-28 13:42:54 +00:00
script small merges from SAMBA_3_0; mostly typos, renames, etc... 2003-01-15 18:31:46 +00:00
smbd Remove unused variable in reply_spnego_ntlmssp_ok 2003-01-17 01:08:09 +00:00
smbwrapper Fix smbwrapper from the global_* changes. 2002-11-13 21:47:21 +00:00
tdb Keep all the const warnings in one place, by adding a utility function to 2003-01-12 12:23:37 +00:00
tests added a simple test to see whether building shared libraries actually 2001-12-31 22:10:24 +00:00
torture Fix a number of client-side fstring/pstring mixups. 2003-01-11 12:04:14 +00:00
ubiqx BIG patch... 2003-01-02 09:07:17 +00:00
utils the 'static' keyword here is useless as we are not declaring a 2003-01-17 04:12:12 +00:00
web Updates to the NTLMSSP code again - moving the base64 decode fuctionality out 2003-01-16 03:29:54 +00:00
wrepld While the usage is most bisarre, this fixes up another fstring/pstring mixup. 2003-01-11 12:33:00 +00:00
.cvsignore Add autom4te.cache (used by newer autoconfs) 2002-10-29 21:46:36 +00:00
.dmallocrc Sample configuration for dmalloc. 2002-01-09 06:35:45 +00:00
acconfig.h Remove FILE_MACRO as __FILE__ is ANSI C. 2002-12-04 23:57:15 +00:00
aclocal.m4 Add support to build plugins in source/ 2002-11-05 16:33:26 +00:00
change-log global change from samba.anu.edu.au to samba.org 1998-11-21 13:20:31 +00:00
config.guess By popular demand: a new config.guess and config.sub 2001-12-08 17:37:59 +00:00
config.sub By popular demand: a new config.guess and config.sub 2001-12-08 17:37:59 +00:00
configure More Heimdal changes. Still not compiling with Heimdal yet... 2003-01-16 02:58:25 +00:00
configure.developer Change ./configure.developer to stay in effect across a 2001-09-25 05:08:05 +00:00
configure.in More Heimdal changes. Still not compiling with Heimdal yet... 2003-01-16 02:58:25 +00:00
configure.nodebug.developer computer too slow to compile with debug info (100mins), but i need all the 2000-03-09 22:22:38 +00:00
Doxyfile Vance picked up a pile of typos etc at the CIFS confernce, and finally got them 2002-09-27 05:29:43 +00:00
dynconfig.c Remove DRIVERFILE constant. It was removed with the old win95 2002-11-05 03:05:29 +00:00
install-sh merge from the autoconf2 branch to the main branch 1998-07-29 03:08:05 +00:00
mainpage.dox Make CodingSuggestions show up in the Doxygen pages. 2001-11-16 07:28:23 +00:00
Makefile.in Add LIBSMB_OBJ for the new ntlm_auth functionality. 2003-01-16 03:32:55 +00:00
smbadduser small merges from SAMBA_3_0; mostly typos, renames, etc... 2003-01-15 18:31:46 +00:00