summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ezx-pcap.c
diff options
context:
space:
mode:
authorAndrzej Hajda2017-02-20 19:57:57 +0100
committerRafael J. Wysocki2017-02-23 23:00:31 +0100
commit8cc311167c22f9365304b2b20225df2d881c8843 (patch)
tree50a3a64fde614adcd01d983903970b165fb43087 /drivers/mfd/ezx-pcap.c
parentPM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API (diff)
downloadkernel-qcow2-linux-8cc311167c22f9365304b2b20225df2d881c8843.tar.gz
kernel-qcow2-linux-8cc311167c22f9365304b2b20225df2d881c8843.tar.xz
kernel-qcow2-linux-8cc311167c22f9365304b2b20225df2d881c8843.zip
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 'drivers/mfd/ezx-pcap.c')
0 files changed, 0 insertions, 0 deletions