Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isisd: fix memory handling in isis_adj_process_threeway() #16545

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

mjstapp
Copy link
Contributor

@mjstapp mjstapp commented Aug 9, 2024

The adj_process_threeway() api may call the adj_state_change() api, which may delete the adj struct being examined. Change the signature so that callers pass a ptr-to-ptr so that they will see that deletion.

Hoping that this will fix the recent asan report:

Fixes #16543

The adj_process_threeway() api may call the adj_state_change()
api, which may delete the adj struct being examined. Change the
signature so that callers pass a ptr-to-ptr so that they will
see that deletion.

Signed-off-by: Mark Stapp <[email protected]>
@ton31337 ton31337 merged commit 4e20808 into FRRouting:master Aug 12, 2024
16 checks passed
@ton31337
Copy link
Member

@Mergifyio backport stable/10.1 stable/10.0 stable/9.1 stable/9.0

Copy link

mergify bot commented Aug 12, 2024

backport stable/10.1 stable/10.0 stable/9.1 stable/9.0

✅ Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use after free causing crash in ISIS from isis_lfa_topo1
2 participants