1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/util/charset
Stefan Metzmacher 3ed9c90367 charset: fix str[n]casecmp_m() by comparing lower case values
The commits c615ebed6e3d273a682806b952d543e834e5630d^..f19ab5d334e3fb15761fb009e5de876dfc6ea785
replaced Str[n]CaseCmp() by str[n]casecmp_m().

The logic we had in str[n]casecmp_w() used to compare
the upper cased as well as the lower cased versions of the
characters and returned the difference between the lower cased versions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13018

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Sep 15 02:23:29 CEST 2017 on sn-devel-144
2017-09-15 02:23:29 +02:00
..
tests charset/tests: also tests the system str[n]casecmp() 2017-09-14 22:30:20 +02:00
charset_macosxfs.c s3: Fix fn signatures in charset_macosx.c 2011-12-25 13:31:58 +01:00
charset_proto.h s3: Fix fn signatures in charset_macosx.c 2011-12-25 13:31:58 +01:00
charset.h lib:charset: Make global_iconv_handle private 2017-04-18 11:47:17 +02:00
codepoints.c lib:charset: Remove use of talloc_autofree_context() for global_iconv_handle 2017-04-18 11:47:17 +02:00
convert_string.c lib/util/charset: fix conversion failure logging 2015-06-09 18:11:13 +02:00
iconv.c lib: Avoid an includes.h 2017-03-28 17:45:19 +02:00
pull_push.c util: Fix the documentation of push_utf8_talloc() 2016-09-09 00:32:12 +02:00
util_str.c charset: fix str[n]casecmp_m() by comparing lower case values 2017-09-15 02:23:29 +02:00
util_unistr_w.c charset: Avoid compiler warnings with --enable-developer 2014-09-19 18:11:11 +02:00
util_unistr.c CVE-2015-5330: strupper_talloc_n_handle(): properly count characters 2015-12-09 17:19:52 +01:00
weird.c lib/util/charset: remove charset module loading 2011-09-20 06:27:06 +02:00
wscript_build charset: Remove unused iconv_talloc() 2012-02-10 16:45:11 +11:00
wscript_configure util:charset: Return EILSEQ in smb_iconv() if newer libc is detected 2017-02-01 05:16:46 +01:00