Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
isisd: fix rcap tlv double-free crash
Fix rcap tlv double-free crash. It is supposed to be freed later by isis_free_tlvs() -> free_tlv_router_cap(). In 78774bb ("isisd: add isis flex-algo lsp advertisement"), this was not the case because rcap was not saved to tlvs->router_cap when the function returned early because of a subTLV length issue. Fixes: 49efc80 ("isisd: Ensure rcap is freed in error case") Fixes: 78774bb ("isisd: add isis flex-algo lsp advertisement") Signed-off-by: Louis Scalbert <[email protected]>
- Loading branch information