Skip to content

[CP] Added Bound check for UDP length in XDP datapath (#6057)#6081

Draft
guhetier wants to merge 1 commit into
release/2.5from
guhetier/cp_udp_length_bound_check_2_5_copilot
Draft

[CP] Added Bound check for UDP length in XDP datapath (#6057)#6081
guhetier wants to merge 1 commit into
release/2.5from
guhetier/cp_udp_length_bound_check_2_5_copilot

Conversation

@guhetier

@guhetier guhetier commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Description

Added bound check, to validate UDP header's internal Length field is at least sizeof(UDP_HEADER) to avoid integer underflow.

Testing

CI

Documentation

No documentation impact.

## Description
Added bound check, to validate UDP header's internal Length field is at
least sizeof(UDP_HEADER) to avoid integer underflow.

## Testing

## Documentation
No documentation impact.
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.

2 participants