CIFS: zero sensitive data when freeing
authorAurelien Aptel <aaptel@suse.com>
Thu, 25 Jan 2018 14:59:39 +0000 (15:59 +0100)
committerSteve French <smfrench@gmail.com>
Fri, 26 Jan 2018 23:03:00 +0000 (17:03 -0600)
commit97f4b7276b829a8927ac903a119bef2f963ccc58
tree51545e98eaf4b2bacaf6aeb19dabe57453fc77b7
parent2026b06e9ce8521dae1a71654dc5a39e7ce3b871
CIFS: zero sensitive data when freeing

also replaces memset()+kfree() by kzfree().

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Cc: <stable@vger.kernel.org>
fs/cifs/cifsencrypt.c
fs/cifs/connect.c
fs/cifs/misc.c