mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
isisd: Free memory when confused
When you call into lsp_update with confusion, the lsp is purged and we do not do anything with the created tlv's from parsing the incoming data. To prevent the tlv's from being leaked note confusion and delete the unneeded data. Fixes: #5496 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
0783b36d0e
commit
ebeae7d58d
@ -1054,6 +1054,8 @@ dontcheckadj:
|
||||
circuit->rcv_stream,
|
||||
circuit->area, level,
|
||||
lsp_confusion);
|
||||
if (lsp_confusion)
|
||||
isis_free_tlvs(tlvs);
|
||||
tlvs = NULL;
|
||||
/* ii */
|
||||
lsp_flood_or_update(lsp, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user