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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25750>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to