dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include
Dan Carpenter 4f25af2782 filter: use unsigned int to silence static checker warning
This is just a cleanup.

My testing version of Smatch warns about this:
net/core/filter.c +380 check_load_and_stores(6)
	warn: check 'flen' for negative values

flen comes from the user.  We try to clamp the values here between 1
and BPF_MAXINSNS but the clamp doesn't work because it could be
negative.  This is a bug, but it's not exploitable.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-19 19:35:51 -04:00
..
acpi
asm-generic
crypto
drm
keys
linux filter: use unsigned int to silence static checker warning 2011-10-19 19:35:51 -04:00
math-emu
media
mtd
net caif-hsi: Added recovery check of CA wake status. 2011-10-19 03:25:43 -04:00
pcmcia
rdma
rxrpc
scsi
sound
target
trace
video
xen
Kbuild