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

2019-10-17 Thread Herbert Xu
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 Please be more specific about what undefined behaviours you're referring to. Cheers, -- Email: Herb

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

2019-10-17 Thread Kangjie Lu
"ctx" is uninitialized. To avoid undefined behaviors or memory disclosures, we better initialize it. Signed-off-by: Kangjie Lu --- crypto/algif_hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/algif_hash.c b/crypto/algif_hash.c index 178f4cd75ef1..129a124e5056 100644 --- a/crypt