Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1248079
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] keys: correctly check failed allocation for kmemdup |
| Date | 2015-10-15 21:00 +0200 |
| Message-ID | <qjVUR-6LD-1@gated-at.bofh.it> (permalink) |
| References | <qjTzI-3md-23@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 |
Insu Yun <wuninsu@gmail.com> wrote: > kmemdup return value is saved in 'key->index_key.description', not > 'key->descrption' and kmemdup can be failed in memory pressure. > Therefore, key->index_key.description should be checked. The fields are unioned. It makes no difference. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] keys: correctly check failed allocation for kmemdup Insu Yun <wuninsu@gmail.com> - 2015-10-15 18:30 +0200
Re: [PATCH] keys: correctly check failed allocation for kmemdup David Howells <dhowells@redhat.com> - 2015-10-15 21:00 +0200
Re: [PATCH] keys: correctly check failed allocation for kmemdup David Howells <dhowells@redhat.com> - 2015-10-15 21:50 +0200
csiph-web