Accepting request 297857 from home:AndreasStieger:branches:network:utilities

- fix a DoS vulnerability in print-wb.c
  CVE-2015-3138 [boo#927637] adding CVE-2015-3138.patch

OBS-URL: https://build.opensuse.org/request/show/297857
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=27
This commit is contained in:
2015-04-17 20:19:44 +00:00
committed by Git OBS Bridge
parent 392452ab1c
commit 5213689914
3 changed files with 49 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
Source1: tcpdump-qeth
Source2: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
Source3: http://www.tcpdump.org/tcpdump-workers.asc#/%{name}.keyring
Patch0: CVE-2015-3138.patch
BuildRequires: libpcap-devel >= %{min_libpcap_version}
BuildRequires: libsmi-devel
BuildRequires: openssl-devel
@@ -42,6 +43,7 @@ ethernet. It can be used to debug specific network problems.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"