summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-12-04 10:02:48 (GMT)
committerGitHub <noreply@github.com>2018-12-04 10:02:48 (GMT)
commiteab421bff954e4fb77516bfe6c98d30ced1412d0 (patch)
tree81cb028d6f947bd1c345f2e4957fca153553b208 /Python/pythonrun.c
parent8687bd86e6f138ef0699a1e9f3f9555765949b51 (diff)
downloadcpython-eab421bff954e4fb77516bfe6c98d30ced1412d0.zip
cpython-eab421bff954e4fb77516bfe6c98d30ced1412d0.tar.gz
cpython-eab421bff954e4fb77516bfe6c98d30ced1412d0.tar.bz2
[2.7] bpo-25862: Fix several bugs in the _io module. (GH-8026) (GH-8033)
They can be exposed when some C API calls fail due to lack of memory. * Failed Py_BuildValue() could cause an assertion error in the following TextIOWrapper.tell(). * initvalue could leak in StringIO.__getstate__() after failed PyDict_Copy(). (cherry picked from commit fdb5a50ef34f7951c3b01eb77b1359725a9ad670)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions