Remove strlower_m() and strupper_m() from source4 and common code.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 3 May 2011 02:16:16 +0000 (12:16 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 May 2011 05:37:07 +0000 (07:37 +0200)
commit2742ec0e34c06ded2885aa2607f1c1729a57b034
treec10f1501c68c54ffc61c1f3545f7d272187b0aa2
parent39081a20c5b570430e28866e34ae965c60ee2039
Remove strlower_m() and strupper_m() from source4 and common code.

This function is problematic because a string may expand in size when
changed into upper or lower case.  This will then push characters off
the end of the string in the s3 implementation, or panic in the former
s4 implementation.

Andrew Bartlett
12 files changed:
lib/util/charset/charset.h
lib/util/charset/util_unistr.c
nsswitch/wbinfo.c
source3/lib/util_str.c
source4/auth/ntlmssp/ntlmssp_server.c
source4/client/client.c
source4/dsdb/samdb/ldb_modules/rootdse.c
source4/ntvfs/cifs_posix_cli/svfs_util.c
source4/ntvfs/simple/svfs_util.c
source4/param/loadparm.c
source4/torture/masktest.c
source4/torture/winbind/struct_based.c