From: F. Aragon Date: Mon, 1 Oct 2018 09:51:17 +0000 (+0200) Subject: ospf6d: null check (Coverity 1221441) X-Git-Tag: frr-7.1-dev~312^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F3110%2Fhead;p=mirror%2Ffrr.git ospf6d: null check (Coverity 1221441) Signed-off-by: F. Aragon --- diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c index 586584c65c..2cd3df6432 100644 --- a/ospf6d/ospf6_abr.c +++ b/ospf6d/ospf6_abr.c @@ -1004,6 +1004,7 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa) if (lsa->header->type == htons(OSPF6_LSTYPE_INTER_ROUTER)) { /* To pass test suites */ + assert(router_lsa); if (!OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_R) || !OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_V6)) { if (is_debug)