Details
Description
The following constructor throws an EncodingException
TranscodeToStr tTransCoder (L"中国制造 / 中國製造","UTF-8", XMLPlatformUtils::fgMemoryManager);
The code in TranscodeToStr::transcode allocates 26 bytes when 27 are needed, however, it does not reach the reallocation logic as charsRead is returned by trans->transcodeTo as zero. This only occurs in a Release build.