diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-28 20:30:06 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-28 20:30:06 -0400 |
| commit | 7134ba70601c5af70fa0342510f95521217028db (patch) | |
| tree | 4490dc5f43e83af22d45c580fd47f0f4c259896c /lib/if.c | |
| parent | 882364f11a7ab5545b8c2def58b8996893b31702 (diff) | |
zebra: Fix some nhg SA issues found in latest Coverity
Fix 2 Coverity issues:
1) zebra_nhg.c -> all paths in nhg_ctx_process_finish have
already deref'ed the ctx pointer no need for a test of it
2) the **ifp pointer passed in may be NULL. Prevent an accidental
deref if calling function does not pass in a ifp pointer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/if.c')
0 files changed, 0 insertions, 0 deletions
