summaryrefslogtreecommitdiff
path: root/lib/openbsd-queue.h
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-04-03 05:56:27 -0700
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-04-03 06:00:41 -0700
commit5e665031739710adc390bdf0eed78e18ef12fda2 (patch)
tree1f34a6c3e4cc76134ebfd2809a6f5e92f8334086 /lib/openbsd-queue.h
parent51c5566a071ce633555fdfb12928fadeaa42d6dc (diff)
zebra: fix NULL deref reported by coverity in evpn-pim cleanup
*** CID 1492481: Null pointer dereferences (NULL_RETURNS) /zebra/zebra_vxlan.c: 10262 in zebra_evpn_pim_cfg_clean_up() 10256 } 10257 10258 static int zebra_evpn_pim_cfg_clean_up(struct zserv *client) 10259 { 10260 struct zebra_vrf *zvrf = zebra_vrf_get_evpn(); 10261 >>> CID 1492481: Null pointer dereferences (NULL_RETURNS) >>> Dereferencing "zvrf", which is known to be "NULL". 10262 if (CHECK_FLAG(zvrf->flags, ZEBRA_PIM_SEND_VXLAN_SG)) { 10263 if (IS_ZEBRA_DEBUG_VXLAN) 10264 zlog_debug("VxLAN SG updates to PIM, stop"); 10265 UNSET_FLAG(zvrf->flags, ZEBRA_PIM_SEND_VXLAN_SG); 10266 } Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'lib/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions