Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1633617 > unrolled thread
| Started by | Sebastian Reichel <sebastian.reichel@collabora.co.uk> |
|---|---|
| First post | 2017-05-01 13:40 +0200 |
| Last post | 2017-05-01 13:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Sebastian Reichel <sebastian.reichel@collabora.co.uk> |
|---|---|
| Date | 2017-05-01 13:40 +0200 |
| Subject | Re: [PATCH 1/1] power: Fix unchecked return value of devm_kzalloc |
| Message-ID | <tChQm-8m-25@gated-at.bofh.it> |
[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 top | Article view | linux.kernel
csiph-web