Re: [PATCH] crypto: hash - initializing memory buffer for keys

From: Herbert Xu
Date: Fri Oct 18 2019 - 02:28:37 EST


On Fri, Oct 18, 2019 at 12:04:56AM -0500, Kangjie Lu wrote:
> "ctx" is uninitialized. To avoid undefined behaviors or memory
> disclosures, we better initialize it.
>
> Signed-off-by: Kangjie Lu <kjlu@xxxxxxx>

Please be more specific about what undefined behaviours you're
referring to.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt