summaryrefslogtreecommitdiffstats
path: root/crypto/ecrdsa_params.asn1
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-06-24 14:07:10 +0200
committerAlex Deucher <alexander.deucher@amd.com>2020-07-01 07:59:26 +0200
commit7ee78aff9de13d5dccba133f4a0de5367194b243 (patch)
tree988ad09c07bf54311a2d0ea6f6a0c0f72d9d4691 /crypto/ecrdsa_params.asn1
parentdrm/amdgpu: ensure 0 is returned for success in jpeg_v2_5_wait_for_idle (diff)
downloadlinux-7ee78aff9de13d5dccba133f4a0de5367194b243.tar.xz
linux-7ee78aff9de13d5dccba133f4a0de5367194b243.zip
drm/radeon: fix array out-of-bounds read and write issues
There is an off-by-one bounds check on the index into arrays table->mc_reg_address and table->mc_reg_table_entry[k].mc_data[j] that can lead to reads and writes outside of arrays. Fix the bound checking off-by-one error. Addresses-Coverity: ("Out-of-bounds read/write") Fixes: cc8dbbb4f62a ("drm/radeon: add dpm support for CI dGPUs (v2)") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'crypto/ecrdsa_params.asn1')
0 files changed, 0 insertions, 0 deletions