smb: client: Avoid leaking sensitive data to the heap in connect.c
TCP_Server_Info contains a preauth_sha_hash[] and a cryptkey[] array that might contain sensitive data. Thus free its memory with kfree_sensitive() to avoid that we are leaking this information to the heap. 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
111a2b8717efbd9729d36828308d5163fdc977c3
Parent: 2f9af06
Committed by Paulo Alcantara <pc@manguebit.org>
on 8/24/2026, 8:08:53 PM