[New-bugs-announce] [issue20244] Possible resources leak in tarfile.open()

Serhiy Storchaka report at bugs.python.org
Mon Jan 13 21:26:34 CET 2014

New submission from Serhiy Storchaka:

There are possible opened file leaks when unexpected error is occurred in tarfile.open for bzip2- or xz-compressed files (and gzip2-compressed in 2.7). Here is a patch. Unfortunately I have no tests.

assignee: serhiy.storchaka
components: Library (Lib)
files: tarfile_file_leak.patch
keywords: patch
messages: 208046
nosy: lars.gustaebel, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Possible resources leak in tarfile.open()
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file33450/tarfile_file_leak.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list