Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1633617
| From | Sebastian Reichel <sebastian.reichel@collabora.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] power: Fix unchecked return value of devm_kzalloc |
| Date | 2017-05-01 13:40 +0200 |
| Message-ID | <tChQm-8m-25@gated-at.bofh.it> (permalink) |
| References | <tzHxD-4Ds-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, On Mon, Apr 24, 2017 at 04:22:08PM +0800, Pan Bian wrote: > Function devm_kzalloc() will return a NULL pointer. However, in function > isp1704_charger_probe(), the return value of devm_kzalloc() is directly > used without validation. This may result in a bad memory access bug. > > Signed-off-by: Pan Bian <bianpan2016@163.com> Thanks, queued. -- Sebastian
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 1/1] power: Fix unchecked return value of devm_kzalloc Sebastian Reichel <sebastian.reichel@collabora.co.uk> - 2017-05-01 13:40 +0200
csiph-web