Fix off by one in iconv_to_utf8
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 29 Oct 2018 10:52:23 +0000 (11:52 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 29 Oct 2018 10:52:23 +0000 (11:52 +0100)
commitec09bad3291af901eb7c773739aab3f22cda3197
tree0925440cabb04232cc4b001122a34d0697617f7e
parente60a442820182e4a6958f374c4de5a661551107d
Fix off by one in iconv_to_utf8

* src/mlang-charset.cpp (iconv_to_utf8): Inlen needed
to include the zero.

--
This fixes a crash when this function is used for conversion.
src/mlang-charset.cpp