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]
Date:   Wed, 16 Nov 2016 17:18:02 +0100
From:   David Sterba <dsterba@...e.cz>
To:     Shailendra Verma <shailendra.v@...sung.com>
Cc:     Chris Mason <clm@...com>, Josef Bacik <jbacik@...com>,
        David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
        Shailendra Verma <shailendra.capricorn@...il.com>,
        linux-kernel@...r.kernel.org, vidushi.koul@...sung.com
Subject: Re: [PATCH] Fs: Btrfs - Improvement in code readability when

On Thu, Nov 10, 2016 at 03:17:41PM +0530, Shailendra Verma wrote:
> From: "Shailendra Verma" <shailendra.v@...sung.com>
> 
> There is no need to call kfree() if memdup_user() fails, as no memory
> was allocated and the error in the error-valued pointer should be returned.
> 
> Signed-off-by: Shailendra Verma <shailendra.v@...sung.com>

Queued for 4.10, I've edited the subject line as it's very descriptive.
("btrfs: return early from failed memory allocations in ioctl handlers")

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ