diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-07-03 11:54:28 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-07-08 19:41:43 +0300 |
commit | 866a92040392d844d151aa6a2ba15be2e6e5df4f (patch) | |
tree | b82349b0bab19a2031fc90dc88d529af28ddcdf2 /CREDITS | |
parent | 5e3c4f907043a7fae1b48e86536dc7b9efa07e29 (diff) | |
download | linux-866a92040392d844d151aa6a2ba15be2e6e5df4f.tar.xz |
drm/radeon: fix underflow in r600_cp_dispatch_texture()
The "if (pass_size > buf->total)" can underflow so I have changed the
type of size and pass_size to unsigned to avoid this problem.
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 'CREDITS')
0 files changed, 0 insertions, 0 deletions