]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad3be5b71f9ee3b17f46f5e4979c9bcc407075bc
tree51545e98eaf4b2bacaf6aeb19dabe57453fc77b7
parente61e6d9e023b3191f56f5be989072ed1d916d432
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