This commit is contained in:
parent
773f94aeea
commit
e9f7cc13ec
@ -1,16 +0,0 @@
|
|||||||
--- ethtool.c
|
|
||||||
+++ ethtool.c
|
|
||||||
@@ -628,7 +628,13 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
if (devname == NULL)
|
|
||||||
+ {
|
|
||||||
show_usage(1);
|
|
||||||
+ } else if (strlen(devname) > IFNAMSIZ - 1) {
|
|
||||||
+ fprintf(stderr, "Device name \"%s\" exceeds maximum length.\n",
|
|
||||||
+ devname);
|
|
||||||
+ exit(1);
|
|
||||||
+ }
|
|
||||||
if (strlen(devname) >= IFNAMSIZ)
|
|
||||||
show_usage(1);
|
|
||||||
}
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 12 09:38:24 CEST 2007 - lnussel@suse.de
|
||||||
|
|
||||||
|
- remove superfluous buffer overflow check patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 6 16:29:24 CEST 2006 - mskibbe@suse.de
|
Wed Sep 6 16:29:24 CEST 2006 - mskibbe@suse.de
|
||||||
|
|
||||||
|
12
ethtool.spec
12
ethtool.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ethtool (Version 5)
|
# spec file for package ethtool (Version 5)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -11,16 +11,15 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: ethtool
|
Name: ethtool
|
||||||
License: GPL
|
License: GNU General Public License (GPL)
|
||||||
Group: Productivity/Networking/Diagnostic
|
Group: Productivity/Networking/Diagnostic
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Summary: Examine and Tune Ethernet-Based Network Interfaces
|
Summary: Examine and Tune Ethernet-Based Network Interfaces
|
||||||
Version: 5
|
Version: 5
|
||||||
Release: 3
|
Release: 30
|
||||||
URL: http://sourceforge.net/projects/gkernel
|
URL: http://sourceforge.net/projects/gkernel
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Patch: %{name}-%{version}-buffer-overflow.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ethtool is a small utility for examining and tuning ethernet-based
|
Ethtool is a small utility for examining and tuning ethernet-based
|
||||||
@ -37,7 +36,6 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f}
|
%{suse_update_config -f}
|
||||||
@ -63,7 +61,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/ethtool.8*
|
%{_mandir}/man8/ethtool.8*
|
||||||
%doc AUTHORS COPYING INSTALL NEWS README ChangeLog
|
%doc AUTHORS COPYING INSTALL NEWS README ChangeLog
|
||||||
|
|
||||||
%changelog -n ethtool
|
%changelog
|
||||||
|
* Thu Apr 12 2007 - lnussel@suse.de
|
||||||
|
- remove superfluous buffer overflow check patch
|
||||||
* Wed Sep 06 2006 - mskibbe@suse.de
|
* Wed Sep 06 2006 - mskibbe@suse.de
|
||||||
- fix bug #202756 - No Buffer Overflow check in Ethtool
|
- fix bug #202756 - No Buffer Overflow check in Ethtool
|
||||||
* Mon Sep 04 2006 - mskibbe@suse.de
|
* Mon Sep 04 2006 - mskibbe@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user