diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2021-01-26 08:13:11 +0100 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-26 13:06:02 +0300 |
commit | f6f7bed96eeccdf23e006fe89f8c1306877bc8b6 (patch) | |
tree | 0442643940ffe659e817105d0be83831fc90f324 /net-dns/bind | |
parent | net-dns/bind-tools: Version bump (v9.16.11) (diff) | |
download | gentoo-f6f7bed96eeccdf23e006fe89f8c1306877bc8b6.tar.gz gentoo-f6f7bed96eeccdf23e006fe89f8c1306877bc8b6.tar.bz2 gentoo-f6f7bed96eeccdf23e006fe89f8c1306877bc8b6.zip |
net-dns/bind: remove unused patch
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19221
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-dns/bind')
-rw-r--r-- | net-dns/bind/files/bind-9.16.6-bug-741162.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net-dns/bind/files/bind-9.16.6-bug-741162.patch b/net-dns/bind/files/bind-9.16.6-bug-741162.patch deleted file mode 100644 index 9cc030c82b36..000000000000 --- a/net-dns/bind/files/bind-9.16.6-bug-741162.patch +++ /dev/null @@ -1,31 +0,0 @@ -commit 56d2cf6f1ef008ab6cb50545af9b1d8a5c1ece81 -Author: Ondřej Surý <ondrej@isc.org> -Date: Mon Aug 24 10:15:07 2020 +0200 - - Print diagnostics on dns_name_issubdomain() failure in fctx_create() - - Log diagnostic message when dns_name_issubdomain() in the fctx_create() - when the resolver is qname minimizing and forwarding at the same time. - - (cherry picked from commit 0a22024c270a38a54f0d51621a046b726df158c0) - -diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c -index 8a36693a9a..b37e756c53 100644 ---- a/lib/dns/resolver.c -+++ b/lib/dns/resolver.c -@@ -5122,7 +5122,14 @@ fctx_create(dns_resolver_t *res, const dns_name_t *name, dns_rdatatype_t type, - - log_ns_ttl(fctx, "fctx_create"); - -- INSIST(dns_name_issubdomain(&fctx->name, &fctx->domain)); -+ if (!dns_name_issubdomain(&fctx->name, &fctx->domain)) { -+ dns_name_format(&fctx->domain, buf, sizeof(buf)); -+ UNEXPECTED_ERROR(__FILE__, __LINE__, -+ "'%s' is not subdomain of '%s'", fctx->info, -+ buf); -+ result = ISC_R_UNEXPECTED; -+ goto cleanup_fcount; -+ } - - fctx->qmessage = NULL; - result = dns_message_create(mctx, DNS_MESSAGE_INTENTRENDER, |