diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-12 16:47:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 16:47:48 +0200 |
commit | 2a4269ccd8f96cd2ab8c0ef9e33e3878ff0eed94 (patch) | |
tree | 698d25e4fb1fab994c405ddbb6536ad18c9e2ceb | |
parent | Merge pull request #2406 from pacovn/Coverity_1465495_Out-of-bounds_read (diff) | |
parent | eigrpd: null return value check (Coverity 1455338) (diff) | |
download | frr-2a4269ccd8f96cd2ab8c0ef9e33e3878ff0eed94.tar.xz frr-2a4269ccd8f96cd2ab8c0ef9e33e3878ff0eed94.zip |
Merge pull request #2404 from pacovn/Coverity_1455338_Dereference_null_return_value
eigrpd: null return value check (Coverity 1455338)
-rw-r--r-- | eigrpd/eigrp_filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eigrpd/eigrp_filter.c b/eigrpd/eigrp_filter.c index 7a8fd027c..c1bf1647d 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) { |