[issue46615] Use-after-free by mutating set during set operations

Dennis Sweeney report at bugs.python.org
Sat Feb 19 00:24:06 EST 2022


Dennis Sweeney <sweeney.dennis650 at gmail.com> added the comment:

It does look like there are some pickle situations that crash. Attached is a randomized crasher. I haven't done too much careful reasoning about it, but adding INCREFs everywhere seems to fix most of the issues.

----------
Added file: https://bugs.python.org/file50631/picklecrasher.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46615>
_______________________________________


More information about the Python-bugs-list mailing list