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 | e3a9a33dde86390899f22dc6b2e12b7e33b9750f (patch) | |
tree | bf9bf41c8437cef3b76acb5ee0376cf6b60f5aca /Python/pythonrun.c | |
parent | 0230133ecd01da251a0090227ad68c57d07747d0 (diff) | |
parent | 6668f7f6d84df43fc33d411e2822e09aa33cfe7d (diff) | |
download | cpython-e3a9a33dde86390899f22dc6b2e12b7e33b9750f.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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions