Skip to content
Commit feb54650 authored by Xiaohui Zhang's avatar Xiaohui Zhang Committed by Alex Deucher
Browse files

drm/radeon: integer overflow in radeon_mode_dumb_create()



Similar to the handling of amdgpu_mode_dumb_create in commit 54ef0b54
("drm/amdgpu: integer overflow in amdgpu_mode_dumb_create()"),
we thought a patch might be needed here as well.

args->size is a u64.  arg->pitch and args->height are u32.  The
multiplication will overflow instead of using the high 32 bits as
intended.

Signed-off-by: default avatarXiaohui Zhang <xiaohuizhang@ruc.edu.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c4d7738c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment