Skip to content

Validate record parser RDATA boundaries - #102

Open
virtuald wants to merge 2 commits into
mjansson:mainfrom
virtuald:fix/record-rdata-bounds
Open

Validate record parser RDATA boundaries#102
virtuald wants to merge 2 commits into
mjansson:mainfrom
virtuald:fix/record-rdata-bounds

Conversation

@virtuald

@virtuald virtuald commented Aug 31, 2026

Copy link
Copy Markdown

Fixed-record range checks could wrap when offset and length were added, while PTR and SRV names could consume bytes beyond their declared RDATA. Use subtraction-based bounds checks, keep encoded names within RDLENGTH, and accept the valid root-name SRV representation.

I believe this includes #100

Fixed-record range checks could wrap when offset and length were added, while PTR and SRV names could consume bytes beyond their declared RDATA. Use subtraction-based bounds checks, keep encoded names within RDLENGTH, and accept the valid root-name SRV representation.
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