[issue18408] Fixes crashes found by pyfailmalloc

STINNER Victor report at bugs.python.org
Sat Jul 20 00:01:27 CEST 2013


STINNER Victor added the comment:

"fix CJK codecs: using UNIINV to report _PyUnicodeWriter_WriteChar() failure in Modules/cjkcodecs/cjkcodecs.h does not work. The caller is not aware of the failure: multibytecodec_decerror() receives e=1, whereas it should get MBERR_EXCEPTION"

I created the issue #18509 for that.

----------

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


More information about the Python-bugs-list mailing list