]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Dereference before null check 12214/head
authorSai Gomathi N <nsaigomathi@vmware.com>
Thu, 27 Oct 2022 09:36:00 +0000 (02:36 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 27 Oct 2022 17:05:03 +0000 (17:05 +0000)
commit08d794556d9d530e27fedab45f16cb1f2b3822df
tree36e5c103eb13957f346b3535e6c6dae6aac890de
parent08c02eaf7ba90654b4cd443670ede5eb8329447a
pimd: Dereference before null check

In pim_ecmp_nexthop_search: All paths that lead to this null pointer comparison already dereference the pointer earlier
There may be a null pointer dereference, or else the comparison against null is unnecessary.

Coverity CID-1519749

Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
(cherry picked from commit b6467a4274df734c5a5d1bf4cf9ab5c6d0b8a475)
pimd/pim_nht.c