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:26:53 +0000 (20:26 +0100)
commit4de6cf41701eed5321139e0a7959477da290c169
tree6c4f4104f95de856db05eb667a29ee74d5991e9e
parent799d59665f42e95572f1870813203ccf3ec53273
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