[New-bugs-announce] [issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"
Jeroen Demeyer
report at bugs.python.org
Fri Nov 27 14:56:53 EST 2015
New submission from Jeroen Demeyer:
`type_getattro()` calls `tp_descr_get(self, obj, type)` without actually owning a reference to "self". In very rare cases, this can cause a segmentation fault if "self" is deleted by the descriptor.
Downstream: [http://trac.sagemath.org/ticket/19633]
----------
components: Interpreter Core
files: descr_ref.patch
keywords: patch
messages: 255480
nosy: jdemeyer
priority: normal
severity: normal
status: open
title: tp_descr_get(self, obj, type) is called without owning a reference to "self"
versions: Python 2.7
Added file: http://bugs.python.org/file41173/descr_ref.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25750>
_______________________________________
More information about the New-bugs-announce
mailing list