Skip to content

fix: bound DNS RDATA decoding - #934

Merged
ryanfowler merged 1 commit into
mainfrom
audit-5-dns-rdata
Aug 5, 2026
Merged

fix: bound DNS RDATA decoding#934
ryanfowler merged 1 commit into
mainfrom
audit-5-dns-rdata

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • bound shared DNS RDATA decoding to each record RDLENGTH
  • reuse the bounded decoder for wire DNS and DoH wire responses
  • reject malformed/truncated MX, SRV, SOA, CNAME, NS, TXT, and related RDATA
  • add adjacent-record regression coverage

Checks

  • cargo fmt --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • targeted DNS wire and DoH tests

@ryanfowler
ryanfowler enabled auto-merge (squash) August 5, 2026 14:16
@ryanfowler
ryanfowler merged commit 9e70895 into main Aug 5, 2026
4 checks passed
@ryanfowler
ryanfowler deleted the audit-5-dns-rdata branch August 5, 2026 14:22
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