aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-09-10 10:07:48 +0000
committerMaxime Ripard <[email protected]>2020-09-10 10:15:52 +0000
commit130cdec4e12836cb2d5346216902c49800a07c33 (patch)
tree582fa3ca225bc431c8b0368ca26660a3810fb5f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/imx/dcss: fix compilation issue on 32bit (diff)
downloadkernel-130cdec4e12836cb2d5346216902c49800a07c33.tar.gz
kernel-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 <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20200910100748.GA79916@mwanda
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions