1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/util/charset
Douglas Bagnall a6f47b4f75 util/charset/convert: when retrying, retry from the start
iconv() advances the inbuf pointer; if we decide to realloc and re-iconv,
we need to reset inbuf to the source string

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-05-15 04:03:37 +00:00
..
tests lib:util: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:22 +01:00
charset_macosxfs.c lib:util: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:22 +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 util/charset/convert: when retrying, retry from the start 2019-05-15 04:03:37 +00:00
iconv.c lib:util: Use C99 initializer for builtin_functions in iconv 2019-01-28 10:29:22 +01:00
pull_push.c util: Fix the documentation of push_utf8_talloc() 2016-09-09 00:32:12 +02:00
util_str.c lib:charset: Fix error messages from charset conversion 2018-07-07 13:41:09 +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: Use C99 initializer for weird_table in charset 2019-01-28 10:29:22 +01: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