linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 0/2] device property: fix for two bugs
@ 2016-03-08 13:44 Heikki Krogerus
  2016-03-08 13:44 ` [RESEND PATCH 1/2] device property: fwnode->secondary may contain ERR_PTR(-ENODEV) Heikki Krogerus
  2016-03-08 13:44 ` [RESEND PATCH 2/2] device property: fix for a case of use-after-free Heikki Krogerus
  0 siblings, 2 replies; 8+ messages in thread
From: Heikki Krogerus @ 2016-03-08 13:44 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Mika Westerberg, Andy Shevchenko, John Youn, linux-acpi

Hi Rafael,

I'm resending these for your convenience.

> 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.

There were no better ideas that would have worked from anybody, so
I'm proposing we go forward with these for now.


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 | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

-- 
2.7.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-03-10  9:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 13:44 [RESEND PATCH 0/2] device property: fix for two bugs Heikki Krogerus
2016-03-08 13:44 ` [RESEND PATCH 1/2] device property: fwnode->secondary may contain ERR_PTR(-ENODEV) Heikki Krogerus
2016-03-09  0:31   ` Rafael J. Wysocki
2016-03-08 13:44 ` [RESEND PATCH 2/2] device property: fix for a case of use-after-free Heikki Krogerus
2016-03-09  0:52   ` Rafael J. Wysocki
2016-03-09 14:41     ` Heikki Krogerus
2016-03-10  8:44       ` Heikki Krogerus
2016-03-10  9:17         ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).