When processing a string, ensure we don't write one past
authorjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 7 May 2007 19:27:46 +0000 (19:27 +0000)
committerjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 7 May 2007 19:27:46 +0000 (19:27 +0000)
commit38a8156e05c24afb21b2c0a2987f1768d5718fa9
treee4c1a1c92e814b87b891688ace52e06b32d6d34c
parentaf9871fdf36cd0b1e7a5a46e615572a1708c3346
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.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@22754 0c0555d6-39d7-0310-84fc-f1cc0bd64818
source/lib/charcnv.c