aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2018-02-23 13:44:19 +0100
committerUlf Hansson <[email protected]>2018-02-27 15:11:06 +0100
commit325501d9360eb42c7c51e6daa0d733844c1e790b (patch)
tree2bbdfee9413b755238973c4226abb06c27584bfa /tools/perf/scripts/python/export-to-sqlite.py
parentf8870ae6e2d6be75b1accc2db981169fdfbea7ab (diff)
mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
The hs_timing_cfg[] array is indexed using a value derived from the "mshcN" alias in DT, which may lead to an out-of-bounds access. Fix this by adding a range check. Fixes: 361c7fe9b02eee7e ("mmc: dw_mmc-k3: add sd support for hi3660") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Shawn Lin <[email protected]> Cc: <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions