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
Volker Lendecke 70dfb51430 iconv: Use a static buffer in iconf not to spoil the talloc_pool
This is a buffer that is strictly used like a stack variable. This
patch makes it one and while there it fixes an error path memleak.
In the "pull_failed" case we did not talloc_free(cvtbuf). With
talloc_tos(), this does not really matter, but for code without
this it does.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-12-14 10:06:28 +01:00
..
tests charset/tests: Add prototypes for test functions. 2012-02-07 01:11:07 +01: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 charset: Remove unused strcmp_w() 2012-02-10 16:45:13 +11:00
codepoints.c lib/util/charset: remove charset module loading 2011-09-20 06:27:06 +02:00
convert_string.c lib/util: Fix typo in comment. 2012-06-15 01:18:08 +02:00
iconv.c iconv: Use a static buffer in iconf not to spoil the talloc_pool 2013-12-14 10:06:28 +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 lib/util/charset: Remove 'display charset' 2011-06-23 13:47:27 +02:00
util_unistr_w.c charset: Remove unused strcmp_w() 2012-02-10 16:45:13 +11:00
util_unistr.c lib/util/charset Use push_string and talloc_strupper/strlower from common code 2011-05-03 07:37:07 +02: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