]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: attr is already derefed cannot be null here
authorDonald Sharp <sharpd@nvidia.com>
Sun, 17 Jan 2021 12:43:44 +0000 (07:43 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 18 Jan 2021 14:06:49 +0000 (09:06 -0500)
commit5c8ecf6e468a373b044918e373eacffd3263bfc4
treea3171857ee557cc25398f6705f4e4c8b687bf839
parent4168228f25e51d947a93fc09fe1d5866e3523a25
bgpd: attr is already derefed cannot be null here

In the function bgp_adj_out_set_subgroup, the attr pointer
is already derefed in all paths leading to a test for NULL.
You cannot pass a NULL attribute in since the whole function
would just immediately crash.

CID -> 1500604
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_updgrp_adv.c