Issue 35470: A deadly decref in _PyImport_FindExtensionObjectEx() (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/79651

classification

Title: A deadly decref in _PyImport_FindExtensionObjectEx()
Type: behavior Stage: resolved
Components: Interpreter Core Versions: Python 3.8, Python 3.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, eric.snow, miss-islington, serhiy.storchaka, xiang.zhang
Priority: normal Keywords: patch

Created on 2018-12-12 12:42 by ZackerySpytz, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 11128 merged ZackerySpytz,2018-12-12 12:44
PR 11506 merged miss-islington,2019-01-10 16:12
PR 11506 merged miss-islington,2019-01-10 16:12
Messages (4)
msg331693 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2018-12-12 12:42
In _PyImport_FindExtensionObjectEx(), "mod" shouldn't be decrefed if _PyState_AddModule() fails.
msg331695 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2018-12-12 13:35
What about version 3.6?
msg333394 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2019-01-10 16:12
New changeset 89c4f90df97f6039325e354167e8f507bf199fd9 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128) https://github.com/python/cpython/commit/89c4f90df97f6039325e354167e8f507bf199fd9
msg333399 - (view) Author: miss-islington (miss-islington) Date: 2019-01-10 16:36
New changeset 3e3d57d8490b729a80c8cd9e90475dec122dfe9e by Miss Islington (bot) in branch '3.7': bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128) https://github.com/python/cpython/commit/3e3d57d8490b729a80c8cd9e90475dec122dfe9e
History
Date User Action Args
2022-04-11 14:59:09 admin set github: 79651
2019-01-10 16:44:08 serhiy.storchaka set status: open -> closedstage: patch review -> resolvedresolution: fixedversions: - Python 3.6
2019-01-10 16:36:52 miss-islington set nosy: + miss-islingtonmessages: +
2019-01-10 16:12:55 miss-islington set pull_requests: + <pull%5Frequest11048>
2019-01-10 16:12:50 miss-islington set pull_requests: + <pull%5Frequest11047>
2019-01-10 16:12:35 serhiy.storchaka set nosy: + serhiy.storchakamessages: +
2018-12-12 19:25:17 eric.snow set nosy: + eric.snowtype: behaviorversions: + Python 3.6
2018-12-12 13:35:29 xiang.zhang set nosy: + xiang.zhangmessages: +
2018-12-12 12:44:40 ZackerySpytz set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest10359>
2018-12-12 12:42:37 ZackerySpytz create