diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-02 13:13:14 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-02 13:13:14 +0300 |
commit | 58c8f2bb6de115b620cec3cf995f04005573765c (patch) | |
tree | d5baea3027a00eb820002365608c30762d7da22e /Python/ast.c | |
parent | b9d98d532cb9bdebff9854eaff91fea13769a595 (diff) | |
parent | 28b21e50c8f1bc9f4524b02df75b83f3b5efacb4 (diff) | |
download | cpython-git-58c8f2bb6de115b620cec3cf995f04005573765c.tar.gz |
Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions