projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cifs: replace kfree() with kfree_sensitive() for sensitive data
[linux-2.6-microblaze.git]
/
fs
/
cifs
/
misc.c
diff --git
a/fs/cifs/misc.c
b/fs/cifs/misc.c
index
20a112c
..
72bd1b2
100644
(file)
--- a/
fs/cifs/misc.c
+++ b/
fs/cifs/misc.c
@@
-1119,7
+1119,7
@@
cifs_alloc_hash(const char *name,
void
cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc)
{
- kfree(*sdesc);
+ kfree
_sensitive
(*sdesc);
*sdesc = NULL;
if (*shash)
crypto_free_shash(*shash);