aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-09-10 13:07:48 +0300
committerMaxime Ripard <maxime@cerno.tech>2020-09-10 12:15:52 +0200
commit130cdec4e12836cb2d5346216902c49800a07c33 (patch)
tree582fa3ca225bc431c8b0368ca26660a3810fb5f8 /tools/perf/scripts/python
parentdrm/imx/dcss: fix compilation issue on 32bit (diff)
downloadlinux-130cdec4e12836cb2d5346216902c49800a07c33.tar.gz
linux-130cdec4e12836cb2d5346216902c49800a07c33.zip
drm/vc4: hdmi: Fix off by ones in vc4_hdmi_read/write()
The variant->registers[] has ->num_registers elements so the > comparison needs to be changes to >= to prevent an out of bounds access. Fixes: 311e305fdb4e ("drm/vc4: hdmi: Implement a register layout abstraction") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20200910100748.GA79916@mwanda
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions