This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: segfault with "del X.__abstractmethods__"
Type: crash Stage:
Components: Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, benjamin.peterson, eric.araujo
Priority: critical Keywords: easy

Created on 2011-01-12 12:09 by amaury.forgeotdarc, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg126086 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2011-01-12 12:09
A short crasher::
    class X(object): pass
    del X.__abstractmethods__

All versions since 2.6 are affected.
The fix is probably simple: the setter function type_set_abstractmethods() in typeobject.c should check for a NULL value.
msg126087 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-01-12 12:35
I think a crash does not qualify as security issue, hence removing 2.6.
msg126108 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2011-01-12 15:34
r87954
History
Date User Action Args
2022-04-11 14:57:11adminsetgithub: 55101
2011-01-12 15:34:20benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg126108

resolution: fixed
2011-01-12 12:35:45eric.araujosetnosy: + eric.araujo

messages: + msg126087
versions: - Python 2.6
2011-01-12 12:09:11amaury.forgeotdarccreate