Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect endless recursion in domain name #26

Merged
merged 12 commits into from
Jan 26, 2025
Merged

Detect endless recursion in domain name #26

merged 12 commits into from
Jan 26, 2025

Conversation

LinkTed
Copy link
Owner

@LinkTed LinkTed commented Jan 3, 2025

  • feat: Detect endless recursion in domain name
  • refactor: Resolve elided_name_lifetimes
  • chore: Updated dependencies
  • ci: Update jobs

The actions-rs/toolchain is not maintained.
The actions-rs/clippy-check is not maintained.
The actions-rs/cargo is not maintained.
- base64 "0.13.0" to "0.22"
- bytes "1.2.1" to "1"
- hex "0.4.3" to "0.4"
- thiserror "1.0.32" to "2"
- criterion "0.3.6" to "0.5"
@codecov-commenter
Copy link

codecov-commenter commented Jan 3, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.33%. Comparing base (b85d3cd) to head (0a3ce5d).

Files with missing lines Patch % Lines
src/rr/draft_ietf_dnsop_svcb_https.rs 0.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   91.86%   96.33%   +4.46%     
==========================================
  Files          92       88       -4     
  Lines        3541     3982     +441     
==========================================
+ Hits         3253     3836     +583     
+ Misses        288      146     -142     

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

Remove name lifetime, because 'a is already elided in Decoder::get_main.
Add a HashSet to detect endless recursion during decoding of a domain
name.
@LinkTed LinkTed merged commit cfe9f76 into master Jan 26, 2025
10 checks passed
Use an iterative instead of a recursive approach in the decoding of
domain names.
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