projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2059b2
)
[PATCH] key: plug request_key_auth memleak
author
David Howells
<dhowells@redhat.com>
Fri, 7 Oct 2005 14:01:09 +0000
(15:01 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 8 Oct 2005 21:53:31 +0000
(14:53 -0700)
Plug request_key_auth memleak. This can be triggered by unprivileged
users, so is local DoS.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/keys/request_key_auth.c
patch
|
blob
|
blame
|
history
diff --git
a/security/keys/request_key_auth.c
b/security/keys/request_key_auth.c
index 1ecd3d3fa9f895850a66e35c446b5ab506e85aab..f80a501e27f19d7e0e5cdd121647d93b719c418b 100644
(file)
--- a/
security/keys/request_key_auth.c
+++ b/
security/keys/request_key_auth.c
@@
-96,6
+96,7
@@
static void request_key_auth_destroy(struct key *key)
kenter("{%d}", key->serial);
key_put(rka->target_key);
+ kfree(rka);
} /* end request_key_auth_destroy() */