Blame bind-9.11-rh1484451.patch
|
|
1f8ab5 |
From a8a20462b516b0cc39e9b1fb1a8dd514eb1aed29 Mon Sep 17 00:00:00 2001
|
|
|
1f8ab5 |
From: Mark Andrews <marka@isc.org>
|
|
|
1f8ab5 |
Date: Fri, 1 Sep 2017 11:17:59 +1000
|
|
|
1f8ab5 |
Subject: [PATCH] 4697. [bug] Restore workaround for Microsoft
|
|
|
1f8ab5 |
Windows TSIG hash computation bug. [RT #45854]
|
|
|
1f8ab5 |
|
|
|
1f8ab5 |
---
|
|
|
1f8ab5 |
lib/dns/rdataset.c | 3 +++
|
|
|
1f8ab5 |
1 file changed, 3 insertions(+)
|
|
|
1f8ab5 |
|
|
|
1f8ab5 |
diff --git a/lib/dns/rdataset.c b/lib/dns/rdataset.c
|
|
|
1f8ab5 |
index 1386840..e563963 100644
|
|
|
1f8ab5 |
--- a/lib/dns/rdataset.c
|
|
|
1f8ab5 |
+++ b/lib/dns/rdataset.c
|
|
|
1f8ab5 |
@@ -466,6 +466,9 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
|
|
|
1f8ab5 |
dns_name_copy(owner_name, name, NULL);
|
|
|
1f8ab5 |
dns_rdataset_getownercase(rdataset, name);
|
|
|
1f8ab5 |
|
|
|
1f8ab5 |
+ if ((owner_name->attributes & DNS_NAMEATTR_NOCOMPRESS) != 0)
|
|
|
1f8ab5 |
+ name->attributes |= DNS_NAMEATTR_NOCOMPRESS;
|
|
|
1f8ab5 |
+
|
|
|
1f8ab5 |
do {
|
|
|
1f8ab5 |
/*
|
|
|
1f8ab5 |
* Copy out the name, type, class, ttl.
|
|
|
1f8ab5 |
--
|
|
|
1f8ab5 |
2.9.5
|
|
|
1f8ab5 |
|