Re: [PATCH] crypto: crypto_user_stat: Zeroize whole structure given to user space

2018-11-03 Thread Eric Biggers
On Fri, Oct 19, 2018 at 12:27:25PM +, Corentin Labbe wrote: > For preventing un-initilized data to be given to user-space (and so leak > potential useful data), the crypto_stat structure must be correctly > initialised. > > Reported-by: Dan Carpenter > Fixes: cac5818c25d0 ("crypto: user - Imp

[PATCH] crypto: crypto_user_stat: Zeroize whole structure given to user space

2018-10-19 Thread Corentin Labbe
For preventing un-initilized data to be given to user-space (and so leak potential useful data), the crypto_stat structure must be correctly initialised. Reported-by: Dan Carpenter Fixes: cac5818c25d0 ("crypto: user - Implement a generic crypto statistics") Signed-off-by: Corentin Labbe --- cry