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: A reference counting bug in ctypes
Type: behavior Stage: resolved
Components: ctypes, Extension Modules Versions: Python 3.8, Python 3.7, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, miss-islington, serhiy.storchaka
Priority: normal Keywords: patch

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

Pull Requests
URL Status Linked Edit
PR 11229 merged ZackerySpytz, 2018-12-18 23:49
PR 11260 merged miss-islington, 2018-12-20 08:29
PR 11261 merged miss-islington, 2018-12-20 08:29
Messages (5)
msg332101 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2018-12-18 23:44
In PyCFuncPtr_FromDll(), "dll" will leak if an error occurs in _validate_paramflags() or GenericPyCData_new().
msg332199 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-20 08:29
New changeset d77d97c9a1f593fe161afab97e2a3e2292ab88b9 by Serhiy Storchaka (Zackery Spytz) in branch 'master':
bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)
https://github.com/python/cpython/commit/d77d97c9a1f593fe161afab97e2a3e2292ab88b9
msg332201 - (view) Author: miss-islington (miss-islington) Date: 2018-12-20 08:48
New changeset 4b6caaca41def86d80819f1f93c647918e98393f by Miss Islington (bot) in branch '3.7':
bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)
https://github.com/python/cpython/commit/4b6caaca41def86d80819f1f93c647918e98393f
msg332202 - (view) Author: miss-islington (miss-islington) Date: 2018-12-20 08:51
New changeset 3752bc96c0ea1ecf28903cc34cdcd75c658e92ce by Miss Islington (bot) in branch '2.7':
bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)
https://github.com/python/cpython/commit/3752bc96c0ea1ecf28903cc34cdcd75c658e92ce
msg332207 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-20 10:13
Thank you Zackery.
History
Date User Action Args
2022-04-11 14:59:09adminsetgithub: 79710
2018-12-20 10:13:12serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg332207

stage: patch review -> resolved
2018-12-20 08:51:56miss-islingtonsetmessages: + msg332202
2018-12-20 08:48:06miss-islingtonsetnosy: + miss-islington
messages: + msg332201
2018-12-20 08:29:58miss-islingtonsetpull_requests: + pull_request10492
2018-12-20 08:29:49miss-islingtonsetpull_requests: + pull_request10491
2018-12-20 08:29:45serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg332199
2018-12-18 23:49:56ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request10464
2018-12-18 23:44:22ZackerySpytzcreate