https://github.com/torvalds/linux
Revision 82e6bfe2fbc4d48852114c4f979137cd5bf1d1a8 authored by Jan Engelhardt on 21 September 2012, 22:26:52 UTC, committed by Pablo Neira Ayuso on 25 September 2012, 23:33:16 UTC
Commit v2.6.19-rc1~1272^2~41 tells us that r->cost != 0 can happen when
a running state is saved to userspace and then reinstated from there.

Make sure that private xt_limit area is initialized with correct values.
Otherwise, random matchings due to use of uninitialized memory.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent 3e10986
History
Tip revision: 82e6bfe2fbc4d48852114c4f979137cd5bf1d1a8 authored by Jan Engelhardt on 21 September 2012, 22:26:52 UTC
netfilter: xt_limit: have r->cost != 0 case work
Tip revision: 82e6bfe
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-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 210.8 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top