commit | a4995684a949cc1d28fbf09900c47c34b9427ecf | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Fri Apr 27 11:16:09 2018 -0700 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Tue May 08 14:08:12 2018 +0200 |
tree | 39e08cb32dee46af6f9ea62ef32d4323e98d8ebc | |
parent | 2f99aa31cd7a5d667f17dd2924c884c3d2c621ac [diff] |
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>