Skip to content

Conversation

@mjstapp
Copy link
Contributor

@mjstapp mjstapp commented Oct 30, 2025

Validate a little more when parsing flowspec NLRIs - don't access an octet beyond the message length.

Validate a little more when parsing flowspec NLRIs

Signed-off-by: Mark Stapp <mjs@cisco.com>
@frrbot frrbot bot added the bgp label Oct 30, 2025
@mjstapp mjstapp changed the title bgpd: check more during nlri parsing bgpd: check more during flowspec nlri parsing Oct 30, 2025
@donaldsharp
Copy link
Member

I'll get this in. For my education, how did you find this?

@mjstapp
Copy link
Contributor Author

mjstapp commented Oct 31, 2025

I'll get this in. For my education, how did you find this?

heh - just by inspection, I was looking into this function as I was thinking about how to get the flowspec blob out of the struct prefix...

@donaldsharp donaldsharp merged commit 27003c5 into FRRouting:master Oct 31, 2025
17 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