Skip to content

Instantly share code, notes, and snippets.

@macks
Created August 5, 2015 13:40
Show Gist options
  • Save macks/f156783091644dbffcb4 to your computer and use it in GitHub Desktop.
Save macks/f156783091644dbffcb4 to your computer and use it in GitHub Desktop.
diff -ruN bind-9.9.7-P1/lib/dns/tkey.c bind-9.9.7-P2/lib/dns/tkey.c
--- bind-9.9.7-P1/lib/dns/tkey.c 2015-06-18 07:48:03.000000000 +0900
+++ bind-9.9.7-P2/lib/dns/tkey.c 2015-07-15 08:50:22.000000000 +0900
@@ -650,6 +650,7 @@
* Try the answer section, since that's where Win2000
* puts it.
*/
+ name = NULL;
if (dns_message_findname(msg, DNS_SECTION_ANSWER, qname,
dns_rdatatype_tkey, 0, &name,
&tkeyset) != ISC_R_SUCCESS) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment