[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y8lH2ExliSZD9Hpb@lunn.ch>
Date: Thu, 19 Jan 2023 14:38:32 +0100
From: Andrew Lunn <andrew@...n.ch>
To: ye.xingchen@....com.cn
Cc: gregory.clement@...tlin.com, sebastian.hesselbarth@...il.com,
linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: mvebu: potential dereference of null pointer
On Thu, Jan 19, 2023 at 10:51:18AM +0800, ye.xingchen@....com.cn wrote:
> From: Minghao Chi <chi.minghao@....com.cn>
>
> The return value of kzalloc() needs to be checked.
> To avoid use of null pointer in case of the failure of alloc.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Minghao Chi <chi.minghao@....com.cn>
> Signed-off-by: ye xingchen <ye.xingchen@....com.cn>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists