Issue 24038: Missing cleanup in list.sort() with key function (original ) (raw ) Issue24038
Created on 2015-04-23 14:22 by christian.heimes , last changed 2022-04-11 14:58 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
list_keyfunc.patch
christian.heimes,2015-04-23 14:22
Messages (1)
msg241865 - (view)
Author: Christian Heimes (christian.heimes) *
Date: 2015-04-23 14:22
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.
History
Date
User
Action
Args
2022-04-11 14:58:16
admin
set
github: 68226
2015-04-23 21:08:39
benjamin.peterson
set
status: open -> closedsuperseder: NULL pointer dereference in listsort() with key function resolution: duplicate
2015-04-23 15:25:24
serhiy.storchaka
set
nosy: + rhettinger
2015-04-23 14:22:58
christian.heimes
create