Skip to content

Conversation

@fujita
Copy link
Member

@fujita fujita commented Dec 27, 2025

…input

RTRErrorReport.DecodeFromBytes trusted Len/TextLen from input and could allocate huge buffers. Validate Len, PDULen, and TextLen against available bytes and expected layout before allocating.

Add a regression test to ensure malformed ErrorReport PDUs are rejected without excessive allocations.

…input

RTRErrorReport.DecodeFromBytes trusted Len/TextLen from input and
could allocate huge buffers. Validate Len, PDULen, and TextLen against
available bytes and expected layout before allocating.

Add a regression test to ensure malformed ErrorReport PDUs are
rejected without excessive allocations.

Signed-off-by: FUJITA Tomonori <[email protected]>
@fujita fujita merged commit a550fe7 into osrg:master Dec 27, 2025
40 checks passed
@fujita fujita deleted the fix-rtr-oom branch December 27, 2025 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant