summaryrefslogtreecommitdiff
path: root/pimd/pim_errors.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2025-03-03 10:08:17 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2025-03-03 12:39:23 +0000
commit99e42dfb0d12d75af5ce922b4aa206cd748ab049 (patch)
tree241d42ecac1e793c1bd2cc9540912f2051943959 /pimd/pim_errors.h
parenta4a3926582860dd684917b065738c512a25eca02 (diff)
isisd: Correct edge insertion into TED
Edges are not correctly linked to Vertices during LSP processing. In function lsp_to_edge_cb(), once edge created or updated from the LSP TLVs, the code try to link the edge to destination vertices. In case the revert edge is not found, the code try to found a destination vertex to link to. But, the sys_id used for this operation corresponds to the source vertex. As a result, the edge is attached as source and destination of the vertex. When Traffic Engineering is stopped, TED is deleted which result into a double free of the edge attributes. This cause a crash when attempt to free extended admin groupi the second time. This patch removed wrong code which link twice the edge to the source vertex. Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com> (cherry picked from commit 605fc1dd6404b6ed51691c647568939adde4962a)
Diffstat (limited to 'pimd/pim_errors.h')
0 files changed, 0 insertions, 0 deletions