New submission from Dong-hee Na <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue39453>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com