diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2018-11-15 02:03:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 02:03:57 +0000 |
commit | bfb855bef6b428d639693caaf4e4c84cbb8a2f51 (patch) | |
tree | f24e432640c58a24fba2b4cebc09aac447d9e4e7 /Python | |
parent | 4c596d54aa6a55e9d2a3db78891e656ebbfb63c8 (diff) | |
download | cpython-git-bfb855bef6b428d639693caaf4e4c84cbb8a2f51.tar.gz |
bpo-34784: Implement correct cleanup in PyStructSequence new implementation (GH-10536)
PyTuple_Pack can fail and return NULL. If this happens, then PyType_FromSpecWithBases will incorrectly create a new type without bases. Also, it will crash on the Py_DECREF that follows. Also free members and type in error conditions.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions