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: Missing decrefs in the _ctypes module
Type: Stage: resolved
Components: Extension Modules Versions: Python 3.9, Python 3.8
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, twouters
Priority: normal Keywords: patch

Created on 2019-10-20 02:51 by ZackerySpytz, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 16857 merged ZackerySpytz, 2019-10-20 02:55
PR 17811 merged miss-islington, 2020-01-03 12:18
Messages (3)
msg354980 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2019-10-20 02:51
In PyCFuncPtr_FromDll(), there are two missing calls to Py_DECREF() if PySys_Audit() fails!
msg359233 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2020-01-03 12:16
New changeset e02ab59fdffa0bb841182c30ef1355c89578d945 by T. Wouters (Zackery Spytz) in branch 'master':
bpo-38532: Add missing decrefs in PyCFuncPtr_FromDll() (GH-16857)
https://github.com/python/cpython/commit/e02ab59fdffa0bb841182c30ef1355c89578d945
msg359234 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2020-01-03 12:50
New changeset aa3efea9c5f4d25afc3fa4cfd5e6d789943893c9 by T. Wouters (Miss Islington (bot)) in branch '3.8':
bpo-38532: Add missing decrefs in PyCFuncPtr_FromDll() (GH-17811)
https://github.com/python/cpython/commit/aa3efea9c5f4d25afc3fa4cfd5e6d789943893c9
History
Date User Action Args
2022-04-11 14:59:21adminsetgithub: 82713
2020-01-03 12:50:36twouterssetstatus: open -> closed
stage: patch review -> resolved
2020-01-03 12:50:19twouterssetmessages: + msg359234
2020-01-03 12:18:09miss-islingtonsetpull_requests: + pull_request17238
2020-01-03 12:16:15twouterssetnosy: + twouters
messages: + msg359233
2019-10-20 02:55:04ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request16404
2019-10-20 02:51:28ZackerySpytzcreate