Re: [PATCH] CIFS: fix sha512 check in cifs_crypto_secmech_release

From: Gustavo A. R. Silva
Date: Mon Feb 19 2018 - 13:14:07 EST


Hi AurÃlien,

On 02/19/2018 11:27 AM, AurÃlien Aptel wrote:
"Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx> writes:
It seems this is a copy-paste error and that the proper variable to use
in this particular case is _sha512_ instead of _md5_.

*sigh* I re-read this a lot yet still missed it. Minor memory leak
fixed, good coverity catch and thanks for the fix!

Reviewed-by: Aurelien Aptel <aaptel@xxxxxxxx>


Glad to help. Thanks for the review.

BTW I think this should be sent to stable too.
--
Gustavo