[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5e1cc0ba.1c69fb81.41d49.31bf@mx.google.com>
Date: Mon, 13 Jan 2020 11:10:50 -0800
From: Paul Burton <paulburton@...nel.org>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
CC: linux-mips@...r.kernel.org
Subject: Re: [PATCH] MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()
Hello,
Tiezhu Yang wrote:
> If kzalloc fails, it should return -ENOMEM, otherwise may trigger a NULL
> pointer dereference.
Applied to mips-next.
> commit 72d052e28d1d
> https://git.kernel.org/mips/c/72d052e28d1d
>
> Fixes: 3adeb2566b9b ("MIPS: Loongson: Improve LEFI firmware interface")
> Signed-off-by: Tiezhu Yang <yangtiezhu@...ngson.cn>
> Signed-off-by: Paul Burton <paulburton@...nel.org>
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paulburton@...nel.org to report it. ]
Powered by blists - more mailing lists