Skip to content

fix: harden range parser against oversized input#53

Merged
ryuapp merged 2 commits into
mainfrom
fix/range-parse-dos
Apr 13, 2026
Merged

fix: harden range parser against oversized input#53
ryuapp merged 2 commits into
mainfrom
fix/range-parse-dos

Conversation

@ryuapp
Copy link
Copy Markdown
Owner

@ryuapp ryuapp commented Apr 13, 2026

Changes

  • harden range parsing against oversized operator-separated input that could panic
  • reject oversized unbounded OR ranges before collapsing them to *
  • add regression and generated-input tests to keep parser panic-free

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/range.rs 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ryuapp ryuapp merged commit 8f0b344 into main Apr 13, 2026
7 checks passed
@ryuapp ryuapp deleted the fix/range-parse-dos branch April 13, 2026 11:09
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