Roundup Robot added the comment:
New changeset 11a9bca71528 by Benjamin Peterson in branch '2.7':
rearrange methodcaller_new so that the main error case does not cause
uninitialized memory usage (closes #27783)
https://hg.python.org/cpython/rev/11a9bca71528
New changeset 8e3b9bf917a7 by Benjami
New submission from Benjamin Peterson:
Thomas E Hybel reports:
This vulnerability exists in /Modules/_operator.c in the function
methodcaller_new.
Here is the problematic code:
mc = PyObject_GC_New(methodcallerobject, &methodcaller_type);
if (mc == NULL)
return NULL;
ne