[New-bugs-announce] [issue17968] memory leak in listxattr()

Antoine Pitrou report at bugs.python.org
Mon May 13 11:48:46 CEST 2013

New submission from Antoine Pitrou:

os.listxattr() leaks its internal buffer when the first call to C listxattr() fails with ERANGE. This wasn't caught by the refleak bot, probably because xattrs are not enabled on it.

files: listxattr_leak.patch
keywords: patch
messages: 189114
nosy: benjamin.peterson, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: memory leak in listxattr()
type: resource usage
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30248/listxattr_leak.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list