diff options
author | Chuck Ebbert <[email protected]> | 2007-01-04 12:17:44 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2007-01-04 12:17:44 -0800 |
commit | 44f9a2fdc48ccb8bb510b6e1210bf15b3e10afdb (patch) | |
tree | d7215dd5b39707affd4ce0e70d313335ffd85611 /scripts/basic/docproc.c | |
parent | bbdc176a2f39913063aaaf95bc27e4b18fd14953 (diff) |
[NETFILTER]: ebtables: don't compute gap before checking struct type
We cannot compute the gap until we know we have a 'struct ebt_entry' and
not 'struct ebt_entries'. Failure to check can cause crash.
Tested-by: Santiago Garcia Mantinan <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: Chuck Ebbert <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions