diff options
author | 2019-06-07 10:27:04 +0300 | |
---|---|---|
committer | 2019-06-07 15:01:18 +0200 | |
commit | 955f03a7d0738bd373d69f76191b9a66adb3255c (patch) | |
tree | 95957d5e239518c0294ac10d3c8b001ad4401df8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/stm: support runtime power management (diff) | |
download | linux-rng-955f03a7d0738bd373d69f76191b9a66adb3255c.tar.xz linux-rng-955f03a7d0738bd373d69f76191b9a66adb3255c.zip |
drm/bridge: sii902x: re-order conditions to prevent out of bounds read
This should check that "i" is within bounds before checking reading from
the array.
Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607072704.GA25229@mwanda
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions