[New-bugs-announce] [issue16975] Broken error handling in codecs.escape_decode()

Serhiy Storchaka report at bugs.python.org
Tue Jan 15 22:42:51 CET 2013


New submission from Serhiy Storchaka:

>>> import codecs
>>> codecs.escape_decode(r'\x1\x2\x3\x4\x5\x6\x7\x8\x9', 'replace')
(b'?\\x1?\\x2?\\x3?\\x4?\\x5?\\x6?\\x', 27)
>>> codecs.escape_decode(r'\x1\x2\x3\x4\x5\x6\x7\x8\x9' * 1000, 'replace')
Segmentation fault

----------
components: Interpreter Core
messages: 180056
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Broken error handling in codecs.escape_decode()
type: crash
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list