Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339600
| From | Heikki Krogerus <heikki.krogerus@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] device property: fix for couple of bugs |
| Date | 2016-02-22 16:00 +0100 |
| Message-ID | <r507U-7eO-21@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi, The fwnode->secondary is causing problems when a property_set is providing the primary fwnode. Both of these fixes are a bit clumsy looking IMO, but I didn't have better ideas. I think the second one fixing the use-after-free bug should ideally be taken care of in set_secondary_fwnode() instead of device_remove_property_set(), but I didn't have any ideas how to do that. Heikki Krogerus (2): device property: fwnode->secondary may contain ERR_PTR(-ENODEV) device property: fix for a case of use-after-free drivers/base/property.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) -- 2.7.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] device property: fix for couple of bugs Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-02-22 16:00 +0100
[PATCH 1/2] device property: fwnode->secondary may contain ERR_PTR(-ENODEV) Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-02-22 16:00 +0100
Re: [PATCH 0/2] device property: fix for couple of bugs "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-02-24 00:40 +0100
Re: [PATCH 0/2] device property: fix for couple of bugs Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-02-26 09:10 +0100
csiph-web