]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ebtables: check struct type before computing gap
authorChuck Ebbert <76306.1226@compuserve.com>
Mon, 8 Jan 2007 06:11:50 +0000 (07:11 +0100)
committerAdrian Bunk <bunk@stusta.de>
Tue, 9 Jan 2007 02:23:34 +0000 (03:23 +0100)
commit028f0b0041f1bbd0a4f5cd1c4db452b276382115
tree8e497195af3c1910d9a097fcc968c352ce4b44f9
parent55f645946c66b354a52d30b512f1af73c61dfb60
ebtables: check struct type before computing gap

Check struct type before dereferencing fields in ebt_entry.
Failure to check can cause oops.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/bridge/netfilter/ebtables.c