diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-09-23 14:00:59 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-09-24 00:23:44 +0300 |
commit | 54ef0b5461c071050c61e501af5544842d61f40a (patch) | |
tree | 99629cb42eb400a13be2323608f507244724ad81 /drivers/gpu/drm/amd/amdgpu/kv_dpm.h | |
parent | 0913eab648e4fb30ddca8882e707d0fcf5b237c6 (diff) | |
download | linux-54ef0b5461c071050c61e501af5544842d61f40a.tar.xz |
drm/amdgpu: integer overflow in amdgpu_mode_dumb_create()
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.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/kv_dpm.h')
0 files changed, 0 insertions, 0 deletions