Skip to content
Commit a4995684 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Pablo Neira Ayuso
Browse files

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: default avatar <syzbot+5c06e318fc558cc27823@syzkaller.appspotmail.com>
Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 2f99aa31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment