summaryrefslogtreecommitdiffstats
path: root/net/qrtr
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-08-01 13:13:08 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-08 11:27:37 +0200
commitc1eda3c6394f805886b2afa8c7ea5e04305ec698 (patch)
tree4ffbd5227f627403d89a2aa67b832d50802462f3 /net/qrtr
parentnetfilter: nf_tables: s/MFT_REG32_01/NFT_REG32_01 (diff)
downloadlinux-c1eda3c6394f805886b2afa8c7ea5e04305ec698.tar.xz
linux-c1eda3c6394f805886b2afa8c7ea5e04305ec698.zip
netfilter: nft_rbtree: ignore inactive matching element with no descendants
If we find a matching element that is inactive with no descendants, we jump to the found label, then crash because of nul-dereference on the left branch. Fix this by checking that the element is active and not an interval end and skipping the logic that only applies to the tree iteration. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Tested-by: Anders K. Pedersen <akp@akp.dk>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions