summaryrefslogtreecommitdiffstats
path: root/Python/dynamic_annotations.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-06-30 17:57:50 (GMT)
committerGitHub <noreply@github.com>2018-06-30 17:57:50 (GMT)
commitfdb5a50ef34f7951c3b01eb77b1359725a9ad670 (patch)
tree772e7c9d7632341fcf835dbbe84fbc4736ec9466 /Python/dynamic_annotations.c
parent0cdf5f42898350261c5ff65d96334e736130780f (diff)
downloadcpython-fdb5a50ef34f7951c3b01eb77b1359725a9ad670.zip
cpython-fdb5a50ef34f7951c3b01eb77b1359725a9ad670.tar.gz
cpython-fdb5a50ef34f7951c3b01eb77b1359725a9ad670.tar.bz2
bpo-25862: Fix several bugs in the _io module. (GH-8026)
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(). * input_chunk could be decrefed twice in TextIOWrapper.seek() after failed Py_BuildValue(). * initvalue could leak in StringIO.__getstate__() after failed PyDict_Copy().
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions