summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-10-02 10:14:03 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-10-02 10:14:03 (GMT)
commit29e68edbf47b708c1f7082c2235d82f41e747635 (patch)
tree554941fc129b51181ea2aa7799a967a3042ebcec /Python/pythonrun.c
parent5dbe245ef238762c8e1100885e8671bf2e089157 (diff)
parent58c8f2bb6de115b620cec3cf995f04005573765c (diff)
downloadcpython-29e68edbf47b708c1f7082c2235d82f41e747635.zip
cpython-29e68edbf47b708c1f7082c2235d82f41e747635.tar.gz
cpython-29e68edbf47b708c1f7082c2235d82f41e747635.tar.bz2
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