https://github.com/torvalds/linux
Revision 866a92040392d844d151aa6a2ba15be2e6e5df4f authored by Dan Carpenter on 03 July 2015, 08:54:28 UTC, committed by Alex Deucher on 08 July 2015, 16:41:43 UTC
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>
1 parent 5e3c4f9
History
Tip revision: 866a92040392d844d151aa6a2ba15be2e6e5df4f authored by Dan Carpenter on 03 July 2015, 08:54:28 UTC
drm/radeon: fix underflow in r600_cp_dispatch_texture()
Tip revision: 866a920
File Mode Size
kvm

back to top