aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorGiel van Schijndel <[email protected]>2015-01-06 21:37:00 +0000
committerSteve French <[email protected]>2015-01-19 21:32:13 +0000
commitf99dbfa4b39f90c3ba95169000cc2cdd59413f4e (patch)
tree3473d944a6d76de1877503636567d84051bd6228 /fs/ubifs/commit.c
parentLinux 3.19-rc5 (diff)
downloadkernel-f99dbfa4b39f90c3ba95169000cc2cdd59413f4e.tar.gz
kernel-f99dbfa4b39f90c3ba95169000cc2cdd59413f4e.zip
cifs: use memzero_explicit to clear stack buffer
When leaving a function use memzero_explicit instead of memset(0) to clear stack allocated buffers. memset(0) may be optimized away. This particular buffer is highly likely to contain sensitive data which we shouldn't leak (it's named 'passwd' after all). Signed-off-by: Giel van Schijndel <[email protected]> Acked-by: Herbert Xu <[email protected]> Reported-at: http://www.viva64.com/en/b/0299/ Reported-by: Andrey Karpov Reported-by: Svyatoslav Razmyslov Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions