paul added the comment:
Why did the type changed from security to crash?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
versions: +Python 3.3, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
Roundup Robot added the comment:
New changeset 4fa5239624b8 by Georg Brandl in branch '3.2':
Issue #22517: When a io.BufferedRWPair object is deallocated, clear its
https://hg.python.org/cpython/rev/4fa5239624b8
--
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
--
type: crash - security
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
___
Antoine Pitrou added the comment:
It's an actual crash, AFAIK.
--
type: security - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
New submission from paul:
# static void
# bufferedrwpair_dealloc(rwpair *self)
# {
# _PyObject_GC_UNTRACK(self);
# Py_CLEAR(self-reader);
# Py_CLEAR(self-writer);
# Py_CLEAR(self-dict);
# Py_TYPE(self)-tp_free((PyObject *) self);
# }
#
# Weakrefs to this object contain stale
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +benjamin.peterson, pitrou, stutzbach
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
Roundup Robot added the comment:
New changeset 9b4673d7b046 by Benjamin Peterson in branch '2.7':
clear BufferedRWPair weakrefs on deallocation (closes #22517)
https://hg.python.org/cpython/rev/9b4673d7b046
New changeset e834b32f0422 by Benjamin Peterson in branch '3.3':
clear BufferedRWPair