diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-02-20 21:57:57 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-02-24 01:00:31 +0300 |
commit | 8cc311167c22f9365304b2b20225df2d881c8843 (patch) | |
tree | 50a3a64fde614adcd01d983903970b165fb43087 /Documentation/devicetree/bindings/opp | |
parent | 0764c604c8128f17fd740ff8b1701d0a1301eb7e (diff) | |
download | linux-8cc311167c22f9365304b2b20225df2d881c8843.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/opp')
0 files changed, 0 insertions, 0 deletions