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: Resourc Leak in cPickle Module
Type: resource usage Stage: resolved
Components: Extension Modules, Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, pankaj.s01, python-dev
Priority: normal Keywords: patch

Created on 2015-07-25 11:33 by pankaj.s01, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Python-2.7.10-cPickle.patch pankaj.s01, 2015-07-25 11:33 Python-2.7.10-cPickle patch
Messages (2)
msg247345 - (view) Author: Pankaj Sharma (pankaj.s01) * Date: 2015-07-25 11:33
Hi,
There is resource leak in cPickle module in function "Pickle_getvalue()". so need to free before return .
I have attached patched ,please review it.

Thnaks!
msg247356 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-07-25 17:20
New changeset a789ee93f152 by Benjamin Peterson in branch '2.7':
possible memory leak in error case (closes #24719)
https://hg.python.org/cpython/rev/a789ee93f152
History
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 68907
2015-07-25 17:20:34python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg247356

resolution: fixed
stage: resolved
2015-07-25 11:33:53pankaj.s01create