[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190221.131128.1615110783597157620.davem@davemloft.net>
Date: Thu, 21 Feb 2019 13:11:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: jhs@...atatu.com, vladbu@...lanox.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: sched: potential NULL dereference in
tcf_block_find()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Mon, 18 Feb 2019 12:26:32 +0300
> The error code isn't set on this path so it would result in returning
> ERR_PTR(0) and a NULL dereference in the caller.
>
> Fixes: 18d3eefb17cf ("net: sched: refactor tcf_block_find() into standalone functions")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks.
Powered by blists - more mailing lists