From 939a62a54d46c704c68a21a3173ab641bb09ea1a Mon Sep 17 00:00:00 2001 From: paco Date: Tue, 12 Jun 2018 14:31:14 +0200 Subject: [PATCH] eigrpd: null return value check (Coverity 1455338) Signed-off-by: F. Aragon --- eigrpd/eigrp_filter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/eigrpd/eigrp_filter.c b/eigrpd/eigrp_filter.c index 7a8fd027ca..c1bf1647d8 100644 --- a/eigrpd/eigrp_filter.c +++ b/eigrpd/eigrp_filter.c @@ -74,6 +74,7 @@ void eigrp_distribute_update(struct distribute *dist) /* if no interface address is present, set list to eigrp process struct */ e = eigrp_lookup(); + assert(e != NULL); /* Check if distribute-list was set for process or interface */ if (!dist->ifname) { -- 2.39.5