Skip to content

bgpd: Avoid cluster list attribute truncation (backport #22081)#22173

Merged
donaldsharp merged 1 commit into
stable/10.3from
mergify/bp/stable/10.3/pr-22081
Jun 2, 2026
Merged

bgpd: Avoid cluster list attribute truncation (backport #22081)#22173
donaldsharp merged 1 commit into
stable/10.3from
mergify/bp/stable/10.3/pr-22081

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify Bot commented Jun 2, 2026


This is an automatic backport of pull request #22081 done by [Mergify](https://mergify.com).

RFC 4271 4.3 says:

 The fourth high-order bit (bit 3) of the Attribute Flags octet
 is the Extended Length bit.  It defines whether the Attribute
 Length is one octet (if set to 0) or two octets (if set to 1).

 The lower-order four bits of the Attribute Flags octet are
 unused.  They MUST be zero when sent and MUST be ignored when
 received.

 If the Extended Length bit of the Attribute Flags octet is set
 to 0, the third octet of the Path Attribute contains the length
 of the attribute data in octets.

 If the Extended Length bit of the Attribute Flags octet is set
 to 1, the third and fourth octets of the path attribute contain
 the length of the attribute data in octets.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 9397c36)
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Jun 2, 2026

Target branch is not in the allowed branches list.

@frrbot frrbot Bot added the bgp label Jun 2, 2026
@donaldsharp donaldsharp merged commit 5820261 into stable/10.3 Jun 2, 2026
17 of 18 checks passed
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