[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211120042723.GC25752@gondor.apana.org.au>
Date: Sat, 20 Nov 2021 12:27:23 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Chengfeng Ye <cyeaa@...nect.ust.hk>
Cc: davem@...emloft.net, nicolas.ferre@...rochip.com,
alexandre.belloni@...tlin.com, ludovic.desroches@...rochip.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: fix potential null pointer dereference on
pointer dd
On Sat, Oct 30, 2021 at 06:35:56AM -0700, Chengfeng Ye wrote:
> The return pointer of atmel_sha_find_dev could
> be null, there could be potential null-deref issue.
> Fix this by adding a null check.
>
> Signed-off-by: Chengfeng Ye <cyeaa@...nect.ust.hk>
> ---
> drivers/crypto/atmel-sha.c | 3 +++
> 1 file changed, 3 insertions(+)
You forgot to cc linux-crypto.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists