| Submitter | Greg Kroah-Hartman |
|---|---|
| Date | 2009-11-06 22:15:10 |
| Message ID | <20091106221548.693605803@mini.kroah.org> |
| Download | mbox | patch |
| Permalink | /patch/58175/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/security/keys/keyctl.c +++ b/security/keys/keyctl.c @@ -860,7 +860,7 @@ static long get_instantiation_keyring(ke /* otherwise specify the destination keyring recorded in the * authorisation key (any KEY_SPEC_*_KEYRING) */ if (ringid >= KEY_SPEC_REQUESTOR_KEYRING) { - *_dest_keyring = rka->dest_keyring; + *_dest_keyring = key_get(rka->dest_keyring); return 0; }