summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-10-01 11:51:17 +0200
committerF. Aragon <paco@voltanet.io>2018-10-01 11:51:17 +0200
commit554bfe88a85124bce00203a020b46e33af00edcd (patch)
treeb596974dcf637e2c0e472c49c46c716a54ec93b2 /ospf6d
parentMerge pull request #3091 from donaldsharp/routemap_countemup (diff)
downloadfrr-554bfe88a85124bce00203a020b46e33af00edcd.tar.xz
frr-554bfe88a85124bce00203a020b46e33af00edcd.zip
ospf6d: null check (Coverity 1221441)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_abr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c
index 586584c65..2cd3df643 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)