summaryrefslogtreecommitdiffstats
path: root/src/vlib/init.c
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2020-09-10 10:09:01 -0500
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-09-15 08:38:11 +0000
commit649ba152cbd335ce644c04c9f00140aba35f81e8 (patch)
treecccbc37dbe14de641173a8f8f0583a65ea804131 /src/vlib/init.c
parentc13aab8ca1d6fcf0e662628433cafda85dc591bd (diff)
l2: fix null deref in l2_to_bvi()
Type: fix Static analysis identified a possible null pointer dereference. It was introduced by a recent patch which expanded the DMAC comparison on inbound packets on a BVI interface to include any secondary MAC addresses which were added to an interface. Check if the pointer is null before dereferencing. Change-Id: Ic2afe2b062eda32977e05bf3f98d82c1fe64620c Signed-off-by: Matthew Smith <mgsmith@netgate.com> (cherry picked from commit 78681def21b931309a779dfc6a5cbc6ff8b1f814)
Diffstat (limited to 'src/vlib/init.c')
0 files changed, 0 insertions, 0 deletions