fix buffer overrun while converting charsets
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 10 Nov 2010 19:22:16 +0000 (20:22 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 10 Nov 2010 19:24:57 +0000 (20:24 +0100)
commit90a90f347bea035bbed1b3d13e40b7a23765af11
tree2ebc2482b19182c4d1db835c3e7177db3d5502c9
parentadb5baf6bdb58fe0f426f4b2b64294527d589d70
fix buffer overrun while converting charsets

* DecodeSegment() didn't check whether one of the temporary buffers would be able to bear the transcoding results
libcitadel/lib/stringbuf.c