[issue39453] Use-after-free in list contain

2020-02-17 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Dong-hee Na for the fix.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-02-17 Thread miss-islington


miss-islington  added the comment:


New changeset 3c57ca699910be74e7cf67d747b24bbc486932f1 by Miss Islington (bot) 
in branch '3.7':
[3.8] bpo-39453: Fix contains method of list to hold strong references 
(GH-18204)
https://github.com/python/cpython/commit/3c57ca699910be74e7cf67d747b24bbc486932f1


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-02-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +17911
pull_request: https://github.com/python/cpython/pull/18535

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-02-17 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset f64abd10563c25a94011f9e3335fd8a1cf47c205 by Dong-hee Na in branch 
'3.8':
[3.8] bpo-39453: Fix contains method of list to hold strong references 
(GH-18204)
https://github.com/python/cpython/commit/f64abd10563c25a94011f9e3335fd8a1cf47c205


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-27 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +17583
pull_request: https://github.com/python/cpython/pull/18206

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-27 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +17582
pull_request: https://github.com/python/cpython/pull/18205

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-27 Thread miss-islington


miss-islington  added the comment:


New changeset 9e1ed518a576897f914227bf538bac426a02a081 by Miss Islington (bot) 
(Dong-hee Na) in branch 'master':
bpo-39453: Add testcase for bpo-39453 (GH-18202)
https://github.com/python/cpython/commit/9e1ed518a576897f914227bf538bac426a02a081


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-27 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +17581
pull_request: https://github.com/python/cpython/pull/18204

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-27 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +17579
pull_request: https://github.com/python/cpython/pull/18202

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-27 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 4dbf2d8c6789a9b7299b142033073213604b8fdc by Pablo Galindo 
(Dong-hee Na) in branch 'master':
bpo-39453: Make list.__contains__ hold strong references to avoid crashes 
(GH-18181)
https://github.com/python/cpython/commit/4dbf2d8c6789a9b7299b142033073213604b8fdc


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-25 Thread Dong-hee Na


Change by Dong-hee Na :


--
keywords: +patch
pull_requests: +17567
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18181

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-25 Thread Dong-hee Na


Dong-hee Na  added the comment:

I will send a patch ASAP.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39453] Use-after-free in list contain

2020-01-25 Thread Dong-hee Na


New submission from Dong-hee Na :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com