classification
Title: Possible leak in initialization of errmap for OSError
Type: resource usage Stage: patch review
Components: Interpreter Core Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: serhiy.storchaka
Priority: normal Keywords: patch

Created on 2020-11-21 15:01 by serhiy.storchaka, last changed 2020-11-21 17:17 by serhiy.storchaka.

Pull Requests
URL Status Linked Edit
PR 23446 merged serhiy.storchaka, 2020-11-21 15:02
Messages (2)
msg381565 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-11-21 15:01
There is a potential leak when adding item to errmap (errno to OSError subclass mapping) fails.
msg381569 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-11-21 17:17
New changeset ed1007c0d74e658d1e6c9b51b12ce7501eb8cbf9 by Serhiy Storchaka in branch 'master':
bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446)
https://github.com/python/cpython/commit/ed1007c0d74e658d1e6c9b51b12ce7501eb8cbf9
History
Date User Action Args
2020-11-21 17:17:53serhiy.storchakasetmessages: + msg381569
2020-11-21 15:02:28serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request22338
2020-11-21 15:01:13serhiy.storchakacreate