Skip to content

Avoid truncating DNS QTYPE to lower octet in doh_encode() - #4381

Closed
niallor wants to merge 1 commit into
curl:masterfrom
niallor:doh-type-fix
Closed

Avoid truncating DNS QTYPE to lower octet in doh_encode()#4381
niallor wants to merge 1 commit into
curl:masterfrom
niallor:doh-type-fix

Conversation

@niallor

@niallor niallor commented Sep 19, 2019

Copy link
Copy Markdown

DOH: avoid truncating DNS QTYPE to lower octet

IANA has registered DNS TYPE
codes
beyond 255, but doh_encode() copies only the low 8 bits from argument
dnstype to the query buffer.

@bagder bagder closed this in 0d59add Sep 19, 2019
@bagder

bagder commented Sep 19, 2019

Copy link
Copy Markdown
Member

thanks!

@niallor
niallor deleted the doh-type-fix branch September 19, 2019 21:50
@lock lock Bot locked as resolved and limited conversation to collaborators Dec 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants