Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1739089
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/3] KEYS: fix cred refcount leak in request_key_auth_new() |
| Date | 2017-09-25 16:30 +0200 |
| Message-ID | <utCyu-7ys-17@gated-at.bofh.it> (permalink) |
| References | <usgJI-5J0-17@gated-at.bofh.it> <usgJI-5J0-3@gated-at.bofh.it> <usgJI-5J0-17@gated-at.bofh.it> |
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
Eric Biggers <ebiggers3@gmail.com> wrote: > + rka = kzalloc(sizeof(*rka), GFP_KERNEL); > + if (!rka) > + goto error_free_rka; But you haven't allocated an rka if you're in the error path. I'll fix that to jump over the release. David
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 0/3] KEYS: fix error handling in request_key_auth_new() Eric Biggers <ebiggers3@gmail.com> - 2017-09-21 23:00 +0200
[PATCH v2 2/3] KEYS: don't revoke uninstantiated key in request_key_auth_new() Eric Biggers <ebiggers3@gmail.com> - 2017-09-21 23:00 +0200
Re: [PATCH v2 2/3] KEYS: don't revoke uninstantiated key in request_key_auth_new() David Howells <dhowells@redhat.com> - 2017-09-25 16:20 +0200
[PATCH v2 3/3] KEYS: use kmemdup() in request_key_auth_new() Eric Biggers <ebiggers3@gmail.com> - 2017-09-21 23:00 +0200
[PATCH v2 1/3] KEYS: fix cred refcount leak in request_key_auth_new() Eric Biggers <ebiggers3@gmail.com> - 2017-09-21 23:00 +0200
Re: [PATCH v2 1/3] KEYS: fix cred refcount leak in request_key_auth_new() David Howells <dhowells@redhat.com> - 2017-09-25 16:30 +0200
csiph-web