]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Ensure ls_msg2edge does not use memory after freeing
authorDonald Sharp <sharpd@nvidia.com>
Mon, 15 Aug 2022 15:49:50 +0000 (11:49 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 15 Aug 2022 19:45:05 +0000 (15:45 -0400)
commit43a8e0ac88482a61aa99134b744805bf3a6b8e4c
tree1db5583e607fc232ae07663a4bab45d81724a5fb
parentbddd6bb95ef6eb521e2d3dbb70b368b6430f0552
lib: Ensure ls_msg2edge does not use memory after freeing

ls_msg2edge calls ls_edge_del_all which will free the
edge variable.  Ensure that FRR properly returns NULL.

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