Skip to content

Conversation

@rgacogne
Copy link
Member

Short description

In the quite unlikely case where sending a DoH query toward the backend over the UDP socket failed, we could have left a dangling pointer to the DOHUnit struct, possibly leading to a crash when the IDState was cleaned up later.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@rgacogne rgacogne added this to the dnsdist-1.4.0 milestone Jul 22, 2019
@rgacogne rgacogne merged commit c719137 into PowerDNS:master Jul 22, 2019
@rgacogne rgacogne deleted the dnsdist-doh-dangling-send-error branch July 22, 2019 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant