OBS User unknown 2007-04-12 15:18:37 +00:00 committed by Git OBS Bridge
parent 773f94aeea
commit e9f7cc13ec
3 changed files with 11 additions and 22 deletions

View File

@ -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);
}

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# package are under the same license as the package itself.
#
@ -11,16 +11,15 @@
# norootforbuild
Name: ethtool
License: GPL
License: GNU General Public License (GPL)
Group: Productivity/Networking/Diagnostic
Autoreqprov: on
Summary: Examine and Tune Ethernet-Based Network Interfaces
Version: 5
Release: 3
Release: 30
URL: http://sourceforge.net/projects/gkernel
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: %{name}-%{version}-buffer-overflow.patch
%description
Ethtool is a small utility for examining and tuning ethernet-based
@ -37,7 +36,6 @@ Authors:
%prep
%setup -q
%patch
%build
%{suse_update_config -f}
@ -63,7 +61,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/ethtool.8*
%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
- fix bug #202756 - No Buffer Overflow check in Ethtool
* Mon Sep 04 2006 - mskibbe@suse.de