diff options
| author | Rajasekar Raja <rajasekarr@nvidia.com> | 2024-07-22 10:13:19 -0700 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-23 14:47:38 +0000 |
| commit | 4c68489d2f3122eab6e7c345a8135d5c90d1a939 (patch) | |
| tree | bf03e081b04903457546f291b7e34b069be8e2df /tests/topotests/example-test/test_example.py | |
| parent | 743eecd28877a93167132982a95dede0cf1b7ef7 (diff) | |
bgpd: backpressure - Avoid use after free
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 <rajasekarr@nvidia.com>
(cherry picked from commit 40965e599975b019bbe6f4b1dfb3ff22d8980876)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions
