summaryrefslogtreecommitdiff
path: root/lib/util/charset/util_unistr.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell1-1/+2
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2009-12-18Return NULL in strlower_talloc if src is NULLBrendan Powers1-0/+4
Prevents strlower_talloc from segfaulting if you pass it a NULL string. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-10-22util: fixed place where we could look one byte past end of stringAndrew Tridgell1-1/+1
We need to check the length before the value
2009-04-23Fix push_codepoint function without iconv_convenience.Jelmer Vernooij1-1/+1
2009-04-23Add a new non-convenience version of push_codepoint.Jelmer Vernooij1-4/+9
2009-03-09Fix prototype mismatch.Jelmer Vernooij1-1/+1
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij1-30/+18
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij1-18/+38
2009-03-01Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij1-1/+1
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij1-14/+15
consistency with Samba 3.
2009-01-16lib: add strlen_m_term_null from s3.Günther Deschner1-0/+19
Guenther
2008-10-24Remove more global_loadparm instances, fix syntax errors.Jelmer Vernooij1-4/+4
2008-10-24Add version of next_codepoint without iconv_convenience.Jelmer Vernooij1-12/+18
2008-10-24Remove dependency of charset code on loadparm.Jelmer Vernooij1-2/+5
2008-10-24Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij1-20/+46
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24Avoid retrieving iconv convenience during loops.Jelmer Vernooij1-11/+15
2008-10-24Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij1-0/+329
functions.
2008-10-24Split up codepoints code, use consistent _m suffix.Jelmer Vernooij1-117/+31
2008-10-24Rename string_replace_w to string_replace_m, which is more correct.Jelmer Vernooij1-1/+1
2008-10-24Move charset library to top level.Jelmer Vernooij1-0/+684