1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/util/charset
Douglas Bagnall 538d305de9 CVE-2015-5330: next_codepoint_handle_ext: don't short-circuit UTF16 low bytes
UTF16 contains zero bytes when it is encoding ASCII (for example), so we
can't assume the absense of the 0x80 bit means a one byte encoding. No
current callers use UTF16.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11599

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2015-12-09 17:19:53 +01:00
..
tests lib/util:charset/tests: improve strlen_m[_term[_null]]() testing 2015-07-03 05:02:45 +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 CVE-2015-5330: Fix handling of unicode near string endings 2015-12-09 17:19:52 +01:00
codepoints.c CVE-2015-5330: next_codepoint_handle_ext: don't short-circuit UTF16 low bytes 2015-12-09 17:19:53 +01:00
convert_string.c lib/util/charset: fix conversion failure logging 2015-06-09 18:11:13 +02:00
iconv.c lib: Fix blank line endings 2014-12-09 04:12:07 +01:00
pull_push.c lib/util/charset Merge talloc-based pull and push charset functions 2011-04-28 05:30:20 +02:00
util_str.c CVE-2015-5330: Fix handling of unicode near string endings 2015-12-09 17:19:52 +01: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 lib/util/charset: We do not use fucntions from wchar.h any more 2012-09-26 02:13:10 +02:00