summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2013-05-17 09:52:05 +0200
committerTomas Hozza <thozza@redhat.com>2013-05-17 09:58:20 +0200
commit2cc782fdffc63edd4bbb5ca8d5e2d75d650c7609 (patch)
tree6e725739cadae652ce072cecc878cbdcb2d17a5c
parent0a46a99c61718a5318360a8bccca3b6bc616fa9f (diff)
downloadbind-2cc782fdffc63edd4bbb5ca8d5e2d75d650c7609.tar.gz
bind-2cc782fdffc63edd4bbb5ca8d5e2d75d650c7609.tar.xz
bind-2cc782fdffc63edd4bbb5ca8d5e2d75d650c7609.zip
Fix segfault in host/nslookup (#878139)
Signed-off-by: Tomas Hozza <thozza@redhat.com>
-rw-r--r--bind.spec5
-rw-r--r--nslookup-norec.patch2
2 files changed, 5 insertions, 2 deletions
diff --git a/bind.spec b/bind.spec
index 5077f04..625469f 100644
--- a/bind.spec
+++ b/bind.spec
@@ -26,7 +26,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.9.3
-Release: 0.6.%{PREVER}%{?dist}
+Release: 0.7.%{PREVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -779,6 +779,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
+* Fri May 17 2013 Tomas Hozza <thozza@redhat.com> 32:9.9.3-0.7.rc2
+- Fix segfault in host/nslookup (#878139)
+
* Mon May 13 2013 Tomas Hozza <thozza@redhat.com> 32:9.9.3-0.6.rc2
- update to 9.9.3rc2
- part of bind97-exportlib.patch not needed any more
diff --git a/nslookup-norec.patch b/nslookup-norec.patch
index c2e6633..77350ad 100644
--- a/nslookup-norec.patch
+++ b/nslookup-norec.patch
@@ -6,7 +6,7 @@
fputs(l->cmdline, stdout);
- printf(";; connection timed out; no servers could be "
- "reached\n");
-+ if (!next_origin(query)) {
++ if (!next_origin(ISC_LIST_HEAD(l->q))) {
+ printf(";; connection timed out; no servers could be "
+ "reached\n");
+ } else {