Staging
v0.5.1
https://github.com/python/cpython
Revision 3708316afa061dc6c1c6a1207f4998974cfa0752 authored by Petr Viktorin on 29 May 2019, 03:35:33 UTC, committed by Ned Deily on 29 May 2019, 03:35:33 UTC
If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(),
PyObject_Free() would be called on a static string in type_dealloc().
(cherry picked from commit 0613c1e481440aa8f54ba7f6056924c175fbcc13)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 parent 8ea0fd8
History
Tip revision: 3708316afa061dc6c1c6a1207f4998974cfa0752 authored by Petr Viktorin on 29 May 2019, 03:35:33 UTC
[3.7] Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304) (GH-13495)
Tip revision: 3708316
File Mode Size
Grammar -rw-r--r-- 6.3 KB

back to top