SIGN IN SIGN UP

smb: client: Clear sensitive stack and heap data in smb2ops.c

Make sure to not leak key-related data via the heap or the stack
by using kfree_sensitive() or memzero_explicit() here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Paulo Alcantara <pc@manguebit.org>
T
Thomas Huth committed
55a1ad8413f5bae504381b9bf90849c8cf283892
Parent: 3d93986
Committed by Paulo Alcantara <pc@manguebit.org> on 8/24/2026, 8:08:53 PM