Skip to content

Added Bound check for UDP length in XDP datapath#6057

Merged
Santhosha-bk merged 1 commit into
mainfrom
santhoshab/UdpLength
Jun 4, 2026
Merged

Added Bound check for UDP length in XDP datapath#6057
Santhosha-bk merged 1 commit into
mainfrom
santhoshab/UdpLength

Conversation

@Santhosha-bk

Copy link
Copy Markdown
Contributor

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.

@Santhosha-bk Santhosha-bk requested a review from guhetier June 3, 2026 07:15
@Santhosha-bk Santhosha-bk requested a review from a team as a code owner June 3, 2026 07:15
@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.93%. Comparing base (77caa3d) to head (29bb990).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6057      +/-   ##
==========================================
- Coverage   85.80%   83.93%   -1.87%     
==========================================
  Files          60       60              
  Lines       18797    18797              
==========================================
- Hits        16128    15777     -351     
- Misses       2669     3020     +351     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Santhosha-bk Santhosha-bk merged commit 9aea50a into main Jun 4, 2026
499 checks passed
@Santhosha-bk Santhosha-bk deleted the santhoshab/UdpLength branch June 4, 2026 03:01
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