[New-bugs-announce] [issue28648] False assert in _Py_DecodeUTF8_surrogateescape
Xiang Zhang
report at bugs.python.org
Wed Nov 9 10:42:06 EST 2016
New submission from Xiang Zhang:
The assert statement `assert(Py_UNICODE_IS_SURROGATE(ch));` in _Py_DecodeUTF8_surrogateescape is wrong. Code points > 0xffff could reach it and fail.
----------
files: false_assert.patch
keywords: patch
messages: 280406
nosy: serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: False assert in _Py_DecodeUTF8_surrogateescape
type: crash
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45408/false_assert.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28648>
_______________________________________
More information about the New-bugs-announce
mailing list