[issue24038] Missing cleanup in list.sort() with key function

2015-04-23 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> NULL pointer dereference in listsort() with key function ___ Python tracker ___

[issue24038] Missing cleanup in list.sort() with key function

2015-04-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24038] Missing cleanup in list.sort() with key function

2015-04-23 Thread Christian Heimes
New submission from Christian Heimes: One error path in list.sort() doesn't do proper cleanup. It neither sets an exception nor resets the internal pointers to its former values. In case of failed malloc() it leaves the list object in an invalid state. -- components: Interpreter Core f