- Fix dns64 allocation in wrong region for returned internal queries.
This commit is contained in:
parent
901f4a3b5b
commit
6e953c2adb
13
unbound-1.8.2-dns64.patch
Normal file
13
unbound-1.8.2-dns64.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/dns64/dns64.c b/dns64/dns64.c
|
||||||
|
index 6c81192..77e6890 100644
|
||||||
|
--- a/dns64/dns64.c
|
||||||
|
+++ b/dns64/dns64.c
|
||||||
|
@@ -925,7 +925,7 @@ dns64_inform_super(struct module_qstate* qstate, int id,
|
||||||
|
* successful or not. This lets the state machine terminate.
|
||||||
|
*/
|
||||||
|
if(!super_dq) {
|
||||||
|
- super_dq = (struct dns64_qstate*)regional_alloc(qstate->region,
|
||||||
|
+ super_dq = (struct dns64_qstate*)regional_alloc(super->region,
|
||||||
|
sizeof(*super_dq));
|
||||||
|
super->minfo[id] = super_dq;
|
||||||
|
memset(super_dq, 0, sizeof(*super_dq));
|
@ -34,7 +34,7 @@
|
|||||||
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
||||||
Name: unbound
|
Name: unbound
|
||||||
Version: 1.8.2
|
Version: 1.8.2
|
||||||
Release: 1%{?extra_version:.%{extra_version}}%{?dist}
|
Release: 2%{?extra_version:.%{extra_version}}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://www.unbound.net/
|
Url: https://www.unbound.net/
|
||||||
Source: https://www.unbound.net/downloads/%{name}-%{version}%{?extra_version}.tar.gz
|
Source: https://www.unbound.net/downloads/%{name}-%{version}%{?extra_version}.tar.gz
|
||||||
@ -55,6 +55,8 @@ Source15: unbound-anchor.timer
|
|||||||
Source16: unbound-munin.README
|
Source16: unbound-munin.README
|
||||||
Source17: unbound-anchor.service
|
Source17: unbound-anchor.service
|
||||||
|
|
||||||
|
Patch1: unbound-1.8.2-dns64.patch
|
||||||
|
|
||||||
BuildRequires: gcc, make
|
BuildRequires: gcc, make
|
||||||
BuildRequires: flex, openssl-devel
|
BuildRequires: flex, openssl-devel
|
||||||
BuildRequires: libevent-devel expat-devel
|
BuildRequires: libevent-devel expat-devel
|
||||||
@ -149,6 +151,7 @@ Python 3 modules and extensions for unbound
|
|||||||
%setup -qcn %{pkgname}
|
%setup -qcn %{pkgname}
|
||||||
|
|
||||||
pushd %{pkgname}
|
pushd %{pkgname}
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
# only for snapshots
|
# only for snapshots
|
||||||
# autoreconf -iv
|
# autoreconf -iv
|
||||||
@ -420,6 +423,9 @@ popd
|
|||||||
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key
|
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 10 2018 Paul Wouters <pwouters@redhat.com> - 1.8.2-2
|
||||||
|
- Fix dns64 allocation in wrong region for returned internal queries.
|
||||||
|
|
||||||
* Tue Dec 04 2018 Paul Wouters <pwouters@redhat.com> - 1.8.2-1
|
* Tue Dec 04 2018 Paul Wouters <pwouters@redhat.com> - 1.8.2-1
|
||||||
- Updated to 1.8.2.
|
- Updated to 1.8.2.
|
||||||
- Enabled deny ANY query support and edns-tcp-keepalive
|
- Enabled deny ANY query support and edns-tcp-keepalive
|
||||||
|
Loading…
Reference in New Issue
Block a user