summaryrefslogtreecommitdiffstats
path: root/src/netlink_linearize.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-03-17 20:39:38 +0100
committerPhil Sutter <phil@nwl.cc>2021-11-30 14:57:46 +0100
commit40e2414b74a1b8370decae5dea6395200dfb1e6d (patch)
tree4edc6883cd59f84ee7d24a8d65e4847a775481a5 /src/netlink_linearize.c
parent38f1546ff34ae93d15caf5d003951aeb184a0396 (diff)
exthdr: Fix for segfault with unknown exthdr
Unknown exthdr type with NFT_EXTHDR_F_PRESENT flag set caused NULL-pointer deref. Fix this by moving the conditional exthdr.desc deref atop the function and use the result in all cases. Fixes: e02bd59c4009b ("exthdr: Implement existence check") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/netlink_linearize.c')
0 files changed, 0 insertions, 0 deletions