[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190213.221339.674810113139257631.davem@davemloft.net>
Date: Wed, 13 Feb 2019 22:13:39 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: jiri@...lanox.com, netdev@...r.kernel.org, idosch@...lanox.com,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/3 net-next] lib: objagg: Fix an error code in
objagg_hints_get()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 13 Feb 2019 11:56:50 +0300
> We need to set the error code on this path otherwise we return
> ERR_PTR(0) which would result in a NULL dereference in the caller.
>
> Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and use hints for object creation")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists