]> git.puffer.fish Git - mirror/frr.git/commit
lib, zebra: Ensure that the ifp->node exists 13631/head
authorDonald Sharp <sharpd@nvidia.com>
Sun, 28 May 2023 14:13:16 +0000 (10:13 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sun, 28 May 2023 14:13:16 +0000 (10:13 -0400)
commit46d725f76b4ae045f0930fe310dbbcf8d8280bb4
tree1a6686e7e7d30c0f392f7bcdd498de9fa7191d52
parent06504bea79e9b054dffb56374cc42054180e24c1
lib, zebra: Ensure that the ifp->node exists

On removal, ensure that the ifp->node is set to a null
pointer so that FRR does not use data after freed.
In addition ensure that the ifp->node exists before
attempting to free it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/if.c
zebra/interface.c