netfilter: ebtables: abort if next_offset is too small
authorFlorian Westphal <fwestphal@astaro.com>
Mon, 15 Feb 2010 17:15:55 +0000 (18:15 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 15 Feb 2010 17:15:55 +0000 (18:15 +0100)
next_offset must be > 0, otherwise this loops forever.
The offset also contains the size of the ebt_entry structure
itself, so anything smaller is invalid.

Signed-off-by: Florian Westphal <fwestphal@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found