Skip to content

Commit ed7005d

Browse files
zebra: backpressure - Fix Null ptr access (Coverity Issue)
Fix dereferencing NULL ptr making coverity happy. Ticket :#3390099 Signed-off-by: Rajasekar Raja <[email protected]>
1 parent 692f916 commit ed7005d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bgpd/bgp_zebra.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ static void bgp_handle_route_announcements_to_zebra(struct event *e)
17821782

17831783
table = bgp_dest_table(dest);
17841784
install = CHECK_FLAG(dest->flags, BGP_NODE_SCHEDULE_FOR_INSTALL);
1785-
if (table && table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
1785+
if (table->afi == AFI_L2VPN && table->safi == SAFI_EVPN)
17861786
is_evpn = true;
17871787

17881788
if (BGP_DEBUG(zebra, ZEBRA))

0 commit comments

Comments
 (0)