git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d8099f
)
security: introduce missing kfree
author
Vegard Nossum
<vegard.nossum@gmail.com>
Sat, 17 Jan 2009 16:45:45 +0000
(17:45 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 25 Jan 2009 00:36:24 +0000
(16:36 -0800)
commit
0d54ee1c7850a954026deec4cd4885f331da35cc
upstream.
Plug this leak.
Acked-by: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
security/keys/keyctl.c
patch
|
blob
|
history
diff --git
a/security/keys/keyctl.c
b/security/keys/keyctl.c
index
9b4e0e9
..
3c0f421
100644
(file)
--- a/
security/keys/keyctl.c
+++ b/
security/keys/keyctl.c
@@
-270,6
+270,7
@@
long keyctl_join_session_keyring(const char __user *_name)
/* join the session */
ret = join_session_keyring(name);
+ kfree(name);
error:
return ret;