commit | bb2ef25c2c62444b8fdb0346a23658a419803df9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Nov 30 19:22:42 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Dec 02 21:31:53 2006 -0800 |
tree | b16356c4da5e33704db570324380ddf44908ae44 | |
parent | b6332e6cf9c9198c0f3b0fe37c2c57514dafe1b8 [diff] |
[EBTABLES]: Fix wraparounds in ebt_entries verification. We need to verify that a) we are not too close to the end of buffer to dereference b) next entry we'll be checking won't be _before_ our While we are at it, don't subtract unrelated pointers... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>