r22754: When processing a string, ensure we don't write one past
authorJeremy Allison <jra@samba.org>
Mon, 7 May 2007 19:27:46 +0000 (19:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:54 +0000 (12:21 -0500)
commit14b167ef6e0f2100bd9cdd05c4457e57e952fa5e
treeb9dc63029b87989682dcd19b056c4fdc9b246ba1
parentbe7bac55c37676a8137c59a22dfb2e4c4821ac21
r22754: When processing a string, ensure we don't write one past
the terminating NULL if we've already processed the null
in iconv. Jerry, once I get confirmation from Thomas Bork
this needs to be in 3.0.25 final. Tests fine with valgrind
here.
Jeremy.
source/lib/charcnv.c