Skip to content

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

Merged
ton31337 merged 1 commit intodev/10.1from
mergify/bp/dev/10.1/pr-16437
Jul 23, 2024
Merged

bgpd: backpressure - Avoid use after free (backport #16437)#16441
ton31337 merged 1 commit intodev/10.1from
mergify/bp/dev/10.1/pr-16437

Conversation

@mergify
Copy link
Copy Markdown

@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
@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