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: uu.decode fd leak if in_file is a filename
Type: resource usage Stage:
Components: Library (Lib) Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bbrazil, pitrou
Priority: normal Keywords: patch

Created on 2010-10-31 15:16 by bbrazil, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
uu_decode_fd_leak.patch bbrazil, 2010-10-31 15:16
Messages (4)
msg120054 - (view) Author: Brian Brazil (bbrazil) * Date: 2010-10-31 15:16
I missed this when fixing issue 10246. The attached patch fixes this and adds a test that produces a resource warning with the old code.
msg120062 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-31 15:38
Now that the previous patch has been committed, could you post a patch against current SVN?
msg120064 - (view) Author: Brian Brazil (bbrazil) * Date: 2010-10-31 15:59
The patch is against current SVN.
msg120065 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-31 16:04
Oops, sorry. I hadn't seen that this was about a different function.
I've committed the patch in r86037.
History
Date User Action Args
2022-04-11 14:57:08adminsetgithub: 54475
2010-10-31 16:04:41pitrousetstatus: open -> closed
resolution: fixed
messages: + msg120065
2010-10-31 15:59:05bbrazilsetmessages: + msg120064
2010-10-31 15:38:50pitrousetversions: + Python 3.2, - Python 3.3
nosy: + pitrou

messages: + msg120062

type: resource usage
2010-10-31 15:16:07bbrazilcreate