[issue18408] Fixes crashes found by pyfailmalloc
Serhiy Storchaka
report at bugs.python.org
Wed Jul 17 09:33:04 CEST 2013
Serhiy Storchaka added the comment:
listpop.patch:
list_resize(a, Py_SIZE(a) + d) for d < 0 fails only when PyMem_Realloc(p, n) returns NULL if n < allocated size. Is it possible? Is it desired behavior? Perhaps we should declare that PyMem_Realloc() should return the original pointer if it can't shrink an allocated block.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18408>
_______________________________________
More information about the Python-bugs-list
mailing list