leak and possibly undefined behaviour using close in vfs_btrfs
David Disseldorp
ddiss at suse.de
Tue Nov 4 10:40:45 MST 2014
On Tue, 04 Nov 2014 16:43:53 +0000, Noel Power wrote:
> 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 for finding and fixing this Noel.
Would be good to get this merged for 4.2 before release.
Cheers, David
More information about the samba-technical
mailing list