This commit is contained in:
parent
6898072b37
commit
94bf738a5a
20
tcpdump-3.9.5-802_11-overflow.diff
Normal file
20
tcpdump-3.9.5-802_11-overflow.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- print-802_11.c
|
||||||
|
+++ print-802_11.c
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
#ifndef lint
|
||||||
|
static const char rcsid[] _U_ =
|
||||||
|
- "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.31.2.11 2006/06/13 22:25:43 guy Exp $ (LBL)";
|
||||||
|
+ "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.43 2007/02/01 02:18:18 guy Exp $ (LBL)";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
@@ -264,7 +264,7 @@
|
||||||
|
|
||||||
|
if (pbody->tim.length <= 3)
|
||||||
|
break;
|
||||||
|
- if (pbody->rates.length > sizeof pbody->tim.bitmap)
|
||||||
|
+ if (pbody->tim.length - 3 > sizeof pbody->tim.bitmap)
|
||||||
|
return;
|
||||||
|
if (!TTEST2(*(p + offset), pbody->tim.length - 3))
|
||||||
|
return;
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 2 11:44:35 CET 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fixed one byte overflow (802_11-overflow.diff) [#250163]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 3 15:43:19 CET 2007 - prusnak@suse.cz
|
Wed Jan 3 15:43:19 CET 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
17
tcpdump.spec
17
tcpdump.spec
@ -13,7 +13,7 @@
|
|||||||
Name: tcpdump
|
Name: tcpdump
|
||||||
BuildRequires: libpcap libsmi openssl-devel
|
BuildRequires: libpcap libsmi openssl-devel
|
||||||
Version: 3.9.5
|
Version: 3.9.5
|
||||||
Release: 1
|
Release: 7
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
License: BSD License and BSD-like
|
License: BSD License and BSD-like
|
||||||
Group: Productivity/Networking/Diagnostic
|
Group: Productivity/Networking/Diagnostic
|
||||||
@ -26,6 +26,7 @@ Patch1: %{name}-%{version}-autoconf.diff
|
|||||||
Patch2: %{name}-%{version}-aliasing.diff
|
Patch2: %{name}-%{version}-aliasing.diff
|
||||||
Patch3: %{name}-%{version}-uninitialized.diff
|
Patch3: %{name}-%{version}-uninitialized.diff
|
||||||
Patch4: %{name}-%{version}-juniper.diff
|
Patch4: %{name}-%{version}-juniper.diff
|
||||||
|
Patch5: %{name}-%{version}-802_11-overflow.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -36,11 +37,13 @@ ethernet. It can be used to debug specific network problems.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
rm -rf win32
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
|
%patch5
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f}
|
%{suse_update_config -f}
|
||||||
@ -49,11 +52,9 @@ aclocal --force
|
|||||||
libtoolize --force --copy
|
libtoolize --force --copy
|
||||||
autoconf --force
|
autoconf --force
|
||||||
autoheader --force
|
autoheader --force
|
||||||
CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector" \
|
export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector"
|
||||||
./configure \
|
%configure \
|
||||||
--prefix=%{_prefix} \
|
--enable-ipv6
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--enable-ipv6
|
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -71,7 +72,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man?/*
|
%doc %{_mandir}/man?/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
|
|
||||||
%changelog -n tcpdump
|
%changelog
|
||||||
|
* Fri Mar 02 2007 - prusnak@suse.cz
|
||||||
|
- fixed one byte overflow (802_11-overflow.diff) [#250163]
|
||||||
* Wed Jan 03 2007 - prusnak@suse.cz
|
* Wed Jan 03 2007 - prusnak@suse.cz
|
||||||
- update to 3.9.5
|
- update to 3.9.5
|
||||||
* Fixes for 64bit compiling
|
* Fixes for 64bit compiling
|
||||||
|
Loading…
Reference in New Issue
Block a user