Skip to content
Snippets Groups Projects
Commit 9a15c505 authored by Florian Westphal's avatar Florian Westphal Committed by Mekala Natarajan
Browse files

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


(cherry picked from commit bdf533de6968e9686df777dc178486f600c6e617)

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.

Bug: 29637687
Change-Id: Ida3d7055b4905cf4c18550f3989f529a8ff5e8a9
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarMekala Natarajan <mnatarajan@google.com>
parent dd9d27d8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment