]> granicus.if.org Git - python/commit
Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304)
authorZackery Spytz <zspytz@gmail.com>
Thu, 9 May 2019 18:33:32 +0000 (12:33 -0600)
committerPetr Viktorin <pviktori@redhat.com>
Thu, 9 May 2019 18:33:31 +0000 (14:33 -0400)
commit0613c1e481440aa8f54ba7f6056924c175fbcc13
tree7c58edbe03482e817e3e26dd3294b472f88463ad
parente6576248e5174ca5daa362cfd610c07e7eb3a2ae
Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304)

If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(),
PyObject_Free() would be called on a static string in type_dealloc().
Objects/typeobject.c