[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160414165700.GA2006@kernel.org>
Date: Thu, 14 Apr 2016 09:57:00 -0700
From: Shaohua Li <shli@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch v2] md/raid0: fix uninitialized variable bug
On Thu, Apr 14, 2016 at 12:31:49PM +0300, Dan Carpenter wrote:
> If this function fails the callers expect that *private_conf is set to
> an ERR_PTR() but that isn't true for the first error path where we can't
> allocate "conf". It leads to some uninitialized variable bugs.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks!
Powered by blists - more mailing lists