lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1103132202450.29706@swampdragon.chaosbits.net>
Date:	Sun, 13 Mar 2011 22:03:28 +0100 (CET)
From:	Jesper Juhl <jj@...osbits.net>
To:	linux-btrfs@...r.kernel.org
cc:	linux-kernel@...r.kernel.org, Chris Mason <chris.mason@...cle.com>
Subject: Re: [PATCH] BTRFS: Fix mem leak in btrfs_submit_direct()

On Sun, 13 Mar 2011, Jesper Juhl wrote:

> When memory is low and the allocation for 'dip->csums' fail in 
> fs/btrfs/inode.c:btrfs_submit_direct() we make the situation worse by 
> leaking the memory allocated to 'dip'.
> This patch removes the leak by kfree()'ing 'dip' before jumping to the 
> 'free_ordered' label.
> 

Ignore this patch. I see now that Daniel J Blueman already submitted a fix 
for this issue. Sorry about the noise.


-- 
Jesper Juhl <jj@...osbits.net>            http://www.chaosbits.net/
Plain text mails only, please.
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ