Skip to content

bgpd: fix crash in displaying json orf prefix-list#17807

Merged
ton31337 merged 2 commits intoFRRouting:masterfrom
louis-6wind:fix-bgp-orf-crash
Jan 9, 2025
Merged

bgpd: fix crash in displaying json orf prefix-list#17807
ton31337 merged 2 commits intoFRRouting:masterfrom
louis-6wind:fix-bgp-orf-crash

Conversation

@louis-6wind
Copy link
Contributor

see individual commit logs

0x<address>FX was displayed instead of the prefix.

Fixes: b219dda ("lib: Convert usage of strings to %pFX and %pRN")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd crashes when there is several entries in the prefix-list. No
backtrace is provided because the issue was catched from a code review.

Fixes: 856ca17 ("Added json formating support to show-...-neighbors-... bgp commands.")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
@ton31337
Copy link
Member

ton31337 commented Jan 9, 2025

@Mergifyio backport stable/10.2 stable/10.1 stable/10.0 stable/9.1 stable/9.0 stable/8.5 stable/8.4

@mergify
Copy link

mergify bot commented Jan 9, 2025

backport stable/10.2 stable/10.1 stable/10.0 stable/9.1 stable/9.0 stable/8.5 stable/8.4

✅ Backports have been created

Details

@ton31337 ton31337 merged commit 0b48c8e into FRRouting:master Jan 9, 2025
Jafaral added a commit that referenced this pull request Jan 9, 2025
bgpd: fix crash in displaying json orf prefix-list (backport #17807)
ton31337 added a commit that referenced this pull request Jan 10, 2025
bgpd: fix crash in displaying json orf prefix-list (backport #17807)
ton31337 added a commit that referenced this pull request Jan 10, 2025
bgpd: fix crash in displaying json orf prefix-list (backport #17807)
ton31337 added a commit that referenced this pull request Jan 10, 2025
bgpd: fix crash in displaying json orf prefix-list (backport #17807)
ton31337 added a commit that referenced this pull request Jan 10, 2025
bgpd: fix crash in displaying json orf prefix-list (backport #17807)
ton31337 added a commit that referenced this pull request Jan 10, 2025
bgpd: fix crash in displaying json orf prefix-list (backport #17807)
ton31337 added a commit that referenced this pull request Jan 10, 2025
bgpd: fix crash in displaying json orf prefix-list (backport #17807)
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