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
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 312.5 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top