[issue24098] Multiple use after frees in obj2ast_* methods
Serhiy Storchaka
report at bugs.python.org
Tue Sep 27 04:19:02 EDT 2016
Serhiy Storchaka added the comment:
Bad things happen not only when a list shrinks, but also when it grows during iteration.
The one solution is to check if the size is changed on every iteration. The other solution is to convert a list to a tuple for iterating.
----------
versions: +Python 2.7 -Python 3.4
Added file: http://bugs.python.org/file44838/issue24098-check-size.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24098>
_______________________________________
More information about the Python-bugs-list
mailing list