diff options
| author | Igor Artemiev <[email protected]> | 2024-09-27 15:07:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-01 21:41:09 +0000 |
| commit | a1e2da6a5072f8abe5b0feaa91a5bcd9dc544a04 (patch) | |
| tree | 0918aae467a14ffe96db9436be9a292389382b7e /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | |
| parent | drm/amd/display: Reorganize kerneldoc parameter names (diff) | |
| download | kernel-a1e2da6a5072f8abe5b0feaa91a5bcd9dc544a04.tar.gz kernel-a1e2da6a5072f8abe5b0feaa91a5bcd9dc544a04.zip | |
drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
It is possible, although unlikely, that an integer overflow will occur
when the result of radeon_get_ib_value() is shifted to the left.
Avoid it by casting one of the operands to larger data type (u64).
Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.
Signed-off-by: Igor Artemiev <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions
