Issue 32020: arraymodule: Missing Py_DECREF in failure case of make_array() (original) (raw)

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

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:54 admin set github: 76201
2017-11-14 07:03:09 serhiy.storchaka set messages: +
2017-11-14 07:02:31 serhiy.storchaka set status: open -> closedstage: patch review -> resolvedresolution: fixedversions: + Python 3.6
2017-11-14 07:01:32 serhiy.storchaka set messages: +
2017-11-14 06:01:11 python-dev set pull_requests: + <pull%5Frequest4340>
2017-11-14 06:01:01 serhiy.storchaka set nosy: + serhiy.storchakamessages: +
2017-11-14 04:54:04 Mathew M. set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest4339>
2017-11-14 04:46:30 Mathew M. create