[issue23247] Crash in the reset() method of StreamWriter of CJK codecs

Aaron Hill report at bugs.python.org
Thu Jul 16 04:57:43 CEST 2015


Aaron Hill added the comment:

The included patch fixes the issue, and modifies the existing unittest to prevent a future regression.

The patch corrects an issue where the 'pending' struct field was NULL, but was used as the input to multibytecodec_encode anyay.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23247>
_______________________________________


More information about the Python-bugs-list mailing list