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:   Sat, 15 Oct 2016 08:49:47 -0700
From:   Dan Williams <dan.j.williams@...el.com>
To:     Colin King <colin.king@...onical.com>
Cc:     "linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] libnvdimm: fix dereference on null devs on error exit path

On Sat, Oct 15, 2016 at 8:32 AM, Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> If devs cannot be allocated then the error exit path jumps to
> a cleanup loop that iterates over a null array of devs which
> is incorrect.  Fix this by jumping instead to the end of the
> function where NULL is returned.
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>

Thanks, I've already applied a similar fix from Dan Carpenter.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ