[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <vbfftslqo7c.fsf@mellanox.com>
Date: Mon, 18 Feb 2019 12:26:35 +0000
From: Vlad Buslov <vladbu@...lanox.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
"David S. Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH net-next] net: sched: potential NULL dereference in
tcf_block_find()
On Mon 18 Feb 2019 at 09:26, Dan Carpenter <dan.carpenter@...cle.com> wrote:
> 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>
Hi Dan,
Thank you for finding and fixing this!
Regards,
Vlad
Powered by blists - more mailing lists