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 files: list_keyfunc.patch keywords: patch messages: 241865 nosy: christian.heimes priority: normal severity: normal stage: patch review status: open title: Missing cleanup in list.sort() with key function type: behavior versions: Python 3.3, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file39184/list_keyfunc.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24038> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com