summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-24 15:12:36 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-24 15:12:36 -0400
commit1d48383802af98683d6d92e3d7c143b830340673 (patch)
tree4a088a924066fcd110ef108c62d8178e63960064 /lib/lib_errors.c
parenta1b32de24ed520a53499f6e81d6ee8eaac548bd1 (diff)
pimd: Fix several address sanitizer issues
This commit fixes two issues during pim shutdown. 1) The rp_info structure was being freed before the outgoing notifications that depended on it's information was sent out as part of shutdown. 2) The pim->upstream_list shutdown involved iterating over the list via ALL_LIST_ELEMENTS. This typically is enough but pim will auto delete child nodes as well as itself when it goes away and they depend on it. As such the node and nnode could possibly already have been freed. So change the way we look at all the data in the upstream_list Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions