Commit ffd699fb authored by Florian Westphal's avatar Florian Westphal Committed by Min Chong
Browse files

UPSTREAM: netfilter: x_tables: validate e->target_offset early



(cherry pick from commit bdf533de)

We should check that e->target_offset is sane before
mark_source_chains gets called since it will fetch the target entry
for loop detection.

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Change-Id: Ic2dbc31c9525d698e94d4d8875886acf3524abbd
Bug: 29637687
parent c32b480d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment