leak and possibly undefined behaviour using close in vfs_btrfs
Noel Power
nopower at suse.com
Tue Nov 4 09:43:53 MST 2014
Hi,
btrfs_get_compression routine closes file descriptor returned from
dirfd, at best this leaks the DIR* at worst could introduce some
undefined behaviour, please see attached patch (also opened bug 10918
for that)
thanks,
Noel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-btrfs-don-t-leak-opened-directory-handle.patch
Type: application/mbox
Size: 1864 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141104/963b4c4d/attachment.bin>
More information about the samba-technical
mailing list