smb: client: Clear sensitive stack data in cifsencrypt.c

Make sure to not leak hash data via the stack, clear it
with memzero_explicit() before leaving the function.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Paulo Alcantara <pc@manguebit.org>
This commit is contained in:
Thomas Huth 2026-08-12 15:01:50 +02:00 • committed by Paulo Alcantara
commit 1a6bd74a27