fix dns cleanup crash
This commit is contained in:
parent
773285dc1b
commit
36d36eff29
12
wireshark-1.8.x-dns-cleanup.patch
Normal file
12
wireshark-1.8.x-dns-cleanup.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
|
||||||
|
index 3b0c944..6f8786b 100644
|
||||||
|
--- a/epan/addr_resolv.c
|
||||||
|
+++ b/epan/addr_resolv.c
|
||||||
|
@@ -2531,6 +2531,7 @@ _host_name_lookup_cleanup(void) {
|
||||||
|
}
|
||||||
|
|
||||||
|
g_list_free(async_dns_queue_head);
|
||||||
|
+ async_dns_queue_head = NULL;
|
||||||
|
|
||||||
|
if (async_dns_initialized) {
|
||||||
|
ares_destroy(ghba_chan);
|
@ -21,7 +21,7 @@
|
|||||||
Summary: Network traffic analyzer
|
Summary: Network traffic analyzer
|
||||||
Name: wireshark
|
Name: wireshark
|
||||||
Version: 1.8.6
|
Version: 1.8.6
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2
|
Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2
|
||||||
@ -40,6 +40,7 @@ Patch3: wireshark-libtool-pie.patch
|
|||||||
Patch4: wireshark-1.6.1-group-msg.patch
|
Patch4: wireshark-1.6.1-group-msg.patch
|
||||||
Patch5: wireshark-1.6.0-soname.patch
|
Patch5: wireshark-1.6.0-soname.patch
|
||||||
Patch6: wireshark-1.8.2-python-symbols.patch
|
Patch6: wireshark-1.8.2-python-symbols.patch
|
||||||
|
Patch7: wireshark-1.8.x-dns-cleanup.patch
|
||||||
|
|
||||||
Url: http://www.wireshark.org/
|
Url: http://www.wireshark.org/
|
||||||
BuildRequires: libpcap-devel >= 0.9
|
BuildRequires: libpcap-devel >= 0.9
|
||||||
@ -138,6 +139,7 @@ and plugins.
|
|||||||
%patch4 -p1 -b .group-msg
|
%patch4 -p1 -b .group-msg
|
||||||
%patch5 -p1 -b .soname
|
%patch5 -p1 -b .soname
|
||||||
%patch6 -p1 -b .python-symbols
|
%patch6 -p1 -b .python-symbols
|
||||||
|
%patch7 -p1 -b .dns-cleanup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x sparcv9 sparc64
|
%ifarch s390 s390x sparcv9 sparc64
|
||||||
@ -363,6 +365,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%{_datadir}/aclocal/*
|
%{_datadir}/aclocal/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 19 2013 Peter Hatina <phatina@redhat.com> 1.8.6-3
|
||||||
|
- fix dns resolving crash (#908211)
|
||||||
|
|
||||||
* Mon Mar 18 2013 Peter Hatina <phatina@redhat.com> 1.8.6-2
|
* Mon Mar 18 2013 Peter Hatina <phatina@redhat.com> 1.8.6-2
|
||||||
- return to gtk2, stable branch 1.8 is not gtk3 ready
|
- return to gtk2, stable branch 1.8 is not gtk3 ready
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user