aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
diff options
context:
space:
mode:
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>2019-11-06 14:58:45 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-11-19 10:12:54 -0500
commita1acc5d0942c827d38b008f2c06fcb4e03dda76d (patch)
tree26551227a2edc1e425f6d429e60ad507ce55a1d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
parentdrm/amd/display: split rxstatus for hdmi and dp (diff)
downloadlinux-dev-a1acc5d0942c827d38b008f2c06fcb4e03dda76d.tar.xz
linux-dev-a1acc5d0942c827d38b008f2c06fcb4e03dda76d.zip
drm/amd/display: Fix static analysis bug in validate_bksv
[Why] static analysis throws the error below Out-of-bounds read (OVERRUN) Overrunning array of 5 bytes at byte offset 7 by dereferencing pointer (uint64_t *)hdcp->auth.msg.hdcp1.bksv. var n is going to contain r0p and bcaps. if they are non-zero the count will be wrong How] Use memcpy instead to avoid this. Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c')
0 files changed, 0 insertions, 0 deletions