]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_flood.c
ospfd: Fix some new SA issues found by coverity
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Feb 2018 04:37:08 +0000 (23:37 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Feb 2018 04:40:54 +0000 (23:40 -0500)
commit9b50aa1fd3f38eb34d77b9ae7e848b35bc814bfc
treeabce0e2c4baea59d678a3de9d6239c85ed598f9e
parentcf29dab3b545f4d8c2286599d2f74426f365911f
ospfd: Fix some new SA issues found by coverity

Fix a || && mixup.
Add an assert for area to show we expect it to be non-null
going forward.
When memory is allocated if it fails we abort then
no need to check for null.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospf_ext.c
ospfd/ospf_flood.c
ospfd/ospf_sr.c