summaryrefslogtreecommitdiff
path: root/net/netfilter/nft_compat.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-04-27 21:16:09 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2018-05-08 15:08:12 +0300
commita4995684a949cc1d28fbf09900c47c34b9427ecf (patch)
tree39e08cb32dee46af6f9ea62ef32d4323e98d8ebc /net/netfilter/nft_compat.c
parent2f99aa31cd7a5d667f17dd2924c884c3d2c621ac (diff)
downloadlinux-a4995684a949cc1d28fbf09900c47c34b9427ecf.tar.xz
netfilter: bridge: stp fix reference to uninitialized data
The destination mac (destmac) is only valid if EBT_DESTMAC flag is set. Fix by changing the order of the comparison to look for the flag first. Reported-by: syzbot+5c06e318fc558cc27823@syzkaller.appspotmail.com Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_compat.c')
0 files changed, 0 insertions, 0 deletions