https://github.com/torvalds/linux
Revision c5b42f343d19d0a04782db0dde5b128dd282f95c authored by Gabriel A. Devenyi on 12 November 2005, 21:00:46 UTC, committed by Jeff Garzik on 18 November 2005, 18:31:00 UTC
hermas_bap_pread,  hermes_bap_pwrite, and hermes_bap_pwrite_pad all have a parameter "len" that is declared unsigned,
but checked for a value less than zero. Auditing the callers, it is possible for len to be passed a negative value, so len should be an int.

Thanks to LinuxICC (http://linuxicc.sf.net)

Signed-off-by: Gabriel A. Devenyi <ace@staticwave.ca>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
1 parent cbf7c42
History
Tip revision: c5b42f343d19d0a04782db0dde5b128dd282f95c authored by Gabriel A. Devenyi on 12 November 2005, 21:00:46 UTC
[PATCH] drivers/net/wireless/hermes.c unsigned int comparision
Tip revision: c5b42f3
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 61.2 KB
Makefile -rw-r--r-- 42.8 KB
README -rw-r--r-- 14.7 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top