Skip to content

Commit

Permalink
Merge pull request #15728 from raja-rajasekar/rajasekarr/backpressure…
Browse files Browse the repository at this point in the history
…_fix_coverity

zebra: backpressure - Fix Null ptr access (Coverity Issue)
  • Loading branch information
mjstapp authored Apr 15, 2024
2 parents 54cfb13 + ed7005d commit 2b813ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_zebra.c
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ static void bgp_handle_route_announcements_to_zebra(struct event *e)

table = bgp_dest_table(dest);
install = CHECK_FLAG(dest->flags, BGP_NODE_SCHEDULE_FOR_INSTALL);
if (table && table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
if (table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
is_evpn = true;

if (BGP_DEBUG(zebra, ZEBRA))
Expand Down

0 comments on commit 2b813ab

Please sign in to comment.