From 2cc782fdffc63edd4bbb5ca8d5e2d75d650c7609 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Fri, 17 May 2013 09:52:05 +0200 Subject: [PATCH] Fix segfault in host/nslookup (#878139) Signed-off-by: Tomas Hozza --- bind.spec | 5 ++++- nslookup-norec.patch | 2 +- 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 32:9.9.3-0.7.rc2 +- Fix segfault in host/nslookup (#878139) + * Mon May 13 2013 Tomas Hozza 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 {