Files
linux/drivers/base
Andy Shevchenko ecc87eed7b device property: fix potential NULL pointer dereference
In device_add_property_set() we check pset parameter for a NULL, but few lines
later we do a pointer arithmetic without check that will crash kernel in the
set_secondary_fwnode().

Here we check if pset parameter is NULL and return immediately.

Fixes: 16ba08d5c9 (device property: Introduce firmware node type for platform data)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-08-06 01:50:21 +02:00
..
2014-07-04 18:05:05 +01:00
2015-06-25 17:00:40 -07:00
2015-05-20 00:15:09 -07:00
2010-05-21 09:37:29 -07:00
2014-09-01 13:48:59 +02:00