Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bgpd: Fix illegal memory access when fetching CEASE cause#19590

Merged
mjstapp merged 3 commits intoFRRouting:masterfrom
opensourcerouting:fix/overrun_bgp_cease_causes
Sep 19, 2025
Merged

bgpd: Fix illegal memory access when fetching CEASE cause#19590
mjstapp merged 3 commits intoFRRouting:masterfrom
opensourcerouting:fix/overrun_bgp_cease_causes

Conversation

@ton31337
Copy link
Member

No description provided.

@frrbot frrbot bot added the bgp label Sep 18, 2025
@ton31337 ton31337 force-pushed the fix/overrun_bgp_cease_causes branch from 5d8b222 to c8ea5f9 Compare September 18, 2025 15:01
@ton31337 ton31337 force-pushed the fix/overrun_bgp_cease_causes branch from c8ea5f9 to ccbaf3b Compare September 18, 2025 15:04
@ton31337 ton31337 force-pushed the fix/overrun_bgp_cease_causes branch from ccbaf3b to 6e2e3bc Compare September 18, 2025 18:56
@ton31337 ton31337 force-pushed the fix/overrun_bgp_cease_causes branch from 6e2e3bc to 152a28b Compare September 19, 2025 05:41
CID 1658743:         Memory - illegal accesses  (OVERRUN)
Overrunning array "bgp_cease_to_reset_cause" of 11 bytes at byte offset
11 using index "sub_code" (which evaluates to 11).

Signed-off-by: Donatas Abraitis <[email protected]>
For readability.

Signed-off-by: Donatas Abraitis <[email protected]>
@ton31337 ton31337 force-pushed the fix/overrun_bgp_cease_causes branch from 152a28b to 7641d4d Compare September 19, 2025 06:20
@github-actions github-actions bot added size/S and removed size/XS labels Sep 19, 2025
@ton31337 ton31337 force-pushed the fix/overrun_bgp_cease_causes branch from 7641d4d to 1293672 Compare September 19, 2025 06:25
@enkechen-panw
Copy link
Contributor

LGTM, thanks

It's not UNKNOWN, it's called reserved or unspecified.

Signed-off-by: Donatas Abraitis <[email protected]>
@ton31337 ton31337 force-pushed the fix/overrun_bgp_cease_causes branch from 1293672 to 0e71545 Compare September 19, 2025 08:05
@mjstapp mjstapp merged commit 561fe38 into FRRouting:master Sep 19, 2025
14 checks passed
@ton31337 ton31337 deleted the fix/overrun_bgp_cease_causes branch September 19, 2025 14:44
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.

3 participants