mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-20 14:55:08 +00:00
Merge pull request #3110 from pacovn/Coverity_1221441_Explicit_null_dereferenced
ospf6d: null check (Coverity 1221441)
This commit is contained in:
commit
0ff69439c0
@ -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)) {
|
if (lsa->header->type == htons(OSPF6_LSTYPE_INTER_ROUTER)) {
|
||||||
/* To pass test suites */
|
/* To pass test suites */
|
||||||
|
assert(router_lsa);
|
||||||
if (!OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_R)
|
if (!OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_R)
|
||||||
|| !OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_V6)) {
|
|| !OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_V6)) {
|
||||||
if (is_debug)
|
if (is_debug)
|
||||||
|
Loading…
Reference in New Issue
Block a user