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

bgpd: backpressure - Avoid use after free (backport #16437) #16441

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jul 23, 2024

Coverity complains there is a use after free (1598495 and 1598496) At this point, most likely dest->refcount cannot go 1 and free up the dest, but there might be some code path where this can happen.

Fixing this with a simple order change (no harm fix).

Ticket :#4001204


This is an automatic backport of pull request #16437 done by Mergify.

Coverity complains there is a use after free (1598495 and 1598496)
At this point, most likely dest->refcount cannot go 1 and free up
the dest, but there might be some code path where this can happen.

Fixing this with a simple order change (no harm fix).

Ticket :#4001204

Signed-off-by: Rajasekar Raja <[email protected]>
(cherry picked from commit 40965e5)
@frrbot frrbot bot added the bgp label Jul 23, 2024
@ton31337 ton31337 merged commit 5bc6621 into dev/10.1 Jul 23, 2024
14 checks passed
@ton31337 ton31337 deleted the mergify/bp/dev/10.1/pr-16437 branch July 23, 2024 20:38
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.

2 participants