diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-02 13:14:03 +0300 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-02 13:14:03 +0300 |
| commit | 29e68edbf47b708c1f7082c2235d82f41e747635 (patch) | |
| tree | 554941fc129b51181ea2aa7799a967a3042ebcec /Lib/crypt.py | |
| parent | 5dbe245ef238762c8e1100885e8671bf2e089157 (diff) | |
| parent | 58c8f2bb6de115b620cec3cf995f04005573765c (diff) | |
| download | cpython-git-29e68edbf47b708c1f7082c2235d82f41e747635.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 'Lib/crypt.py')
0 files changed, 0 insertions, 0 deletions
