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: arraymodule: Missing Py_DECREF in failure case of make_array()
Type: resource usage Stage: resolved
Components: Extension Modules Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Mathew M., serhiy.storchaka
Priority: normal Keywords: patch

Created on 2017-11-14 04:46 by Mathew M., last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 4391 merged Mathew M., 2017-11-14 04:54
PR 4392 merged python-dev, 2017-11-14 06:01
Messages (4)
msg306183 - (view) Author: Mathew M. (Mathew M.) * Date: 2017-11-14 04:46
Similar to issue 32013, just in a different location.

For reference: https://github.com/python/cpython/blob/28b624825eb92cb8c96fbf8da267d8d14a61a841/Modules/arraymodule.c#L1932
msg306184 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-11-14 06:01
New changeset 56935a53b11b9a70f3e13e460777ec81a5b9195e by Serhiy Storchaka (Mat M) in branch 'master':
bpo-32020: arraymodule: Correct missing Py_DECREF in failure case of make_array() (#4391)
https://github.com/python/cpython/commit/56935a53b11b9a70f3e13e460777ec81a5b9195e
msg306186 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-11-14 07:01
New changeset 18056fb11e6fe6e5247cd03073bd74df8ac0acc7 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6':
bpo-32020: arraymodule: Correct missing Py_DECREF in failure case of make_array() (GH-4391) (#4392)
https://github.com/python/cpython/commit/18056fb11e6fe6e5247cd03073bd74df8ac0acc7
msg306187 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-11-14 07:03
Thank you for your contribution Mathew!
History
Date User Action Args
2022-04-11 14:58:54adminsetgithub: 76201
2017-11-14 07:03:09serhiy.storchakasetmessages: + msg306187
2017-11-14 07:02:31serhiy.storchakasetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.6
2017-11-14 07:01:32serhiy.storchakasetmessages: + msg306186
2017-11-14 06:01:11python-devsetpull_requests: + pull_request4340
2017-11-14 06:01:01serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg306184
2017-11-14 04:54:04Mathew M.setkeywords: + patch
stage: patch review
pull_requests: + pull_request4339
2017-11-14 04:46:30Mathew M.create