]> git.puffer.fish Git - mirror/frr.git/commitdiff
eigrpd: null return value check (Coverity 1455338) 2404/head
authorpaco <paco@voltanet.io>
Tue, 12 Jun 2018 12:31:14 +0000 (14:31 +0200)
committerpaco <paco@voltanet.io>
Tue, 12 Jun 2018 13:39:30 +0000 (15:39 +0200)
Signed-off-by: F. Aragon <paco@voltanet.io>
eigrpd/eigrp_filter.c

index 7a8fd027ca09fbb9c0e55eed67defd79d609a0ae..c1bf1647d81fc08125f69a7e771d809b7a5262a4 100644 (file)
@@ -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) {