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

Little fix #14

Merged
merged 1 commit into from
Mar 18, 2012
Merged

Little fix #14

merged 1 commit into from
Mar 18, 2012

Conversation

taralx
Copy link
Contributor

@taralx taralx commented Mar 18, 2012

Was going nuts trying to work out why dnssec validation on the root zone wasn't working. Turns out that there's a nasty interaction between the use of "" as the root domain (UnpackDomainName does this) and the way SplitLabels treats that string (as a single label, not zero labels). While fixing SplitLabels was an option, I think the better option is just to use "." properly to start with. This triggered a bug in "base64" string unpack for RRSIG because we were making assumptions about the way domain names unpack. I replaced that code with much safer code. :)

@miekg
Copy link
Owner

miekg commented Mar 18, 2012

Awesome. looks much better indeed. Thanks

miekg added a commit that referenced this pull request Mar 18, 2012
@miekg miekg merged commit cd99dca into miekg:master Mar 18, 2012
@miekg miekg mentioned this pull request Mar 29, 2023
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.

None yet

2 participants