Issue 15728: Leak in PyUnicode_AsWideCharString() (original) (raw)

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

classification

Title: Leak in PyUnicode_AsWideCharString()
Type: resource usage Stage: resolved
Components: Interpreter Core Versions: Python 3.3

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: loewis, python-dev, skrah, vstinner
Priority: normal Keywords: patch

Created on 2012-08-19 17:49 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
aswidechar-leak.diff skrah,2012-08-19 17:49 review
Messages (4)
msg168584 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-08-19 17:49
Coverity found a leak in PyUnicode_AsWideCharString(). Patch attached.
msg168591 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-08-19 19:28
LGTM.
msg168593 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-08-19 19:57
Thanks!
msg168594 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-08-19 19:58
New changeset 2703171ddf53 by Stefan Krah in branch 'default': Issue #15728: Fix leak in PyUnicode_AsWideCharString(). Found by Coverity. http://hg.python.org/cpython/rev/2703171ddf53
History
Date User Action Args
2022-04-11 14:57:34 admin set github: 59933
2012-08-19 19:59:45 skrah set status: open -> closedresolution: fixedstage: patch review -> resolved
2012-08-19 19:58:33 python-dev set nosy: + python-devmessages: +
2012-08-19 19:57:37 skrah set messages: +
2012-08-19 19:28:01 loewis set nosy: + loewismessages: +
2012-08-19 17:49:44 skrah create