linux-sg2042/drivers/base/power/opp
Andrzej Hajda 8cc311167c PM / OPP: fix off-by-one bug in dev_pm_opp_get_max_volt_latency loop
Reading array at given index before checking if index is valid results in
illegal memory access.

The bug was detected using KASAN framework.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-02-23 23:00:31 +01:00
..
Makefile PM / OPP: Move CONFIG_OF dependent code in a separate file 2016-05-06 13:22:49 +02:00
core.c PM / OPP: fix off-by-one bug in dev_pm_opp_get_max_volt_latency loop 2017-02-23 23:00:31 +01:00
cpu.c PM / OPP: Move away from RCU locking 2017-01-30 09:22:22 +01:00
debugfs.c PM / OPP: Add infrastructure to manage multiple regulators 2016-12-06 02:27:59 +01:00
of.c PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API 2017-02-09 22:52:17 +01:00
opp.h PM / OPP: Move away from RCU locking 2017-01-30 09:22:22 +01:00