[issue39453] Use-after-free in list contain

Dong-hee Na report at bugs.python.org
Sat Jan 25 09:22:26 EST 2020


New submission from Dong-hee Na <donghee.na92 at gmail.com>:

class poc() :
    def __eq__(self,other) :
        l.clear()
        return NotImplemented

l = [poc(), poc(), poc()]
3 in l

[1]    2606 segmentation fault

sigh..

----------
assignee: corona10
messages: 360686
nosy: corona10, pablogsal, vstinner
priority: normal
severity: normal
status: open
title: Use-after-free in list contain
type: crash
versions: Python 3.9

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


More information about the Python-bugs-list mailing list