This commit is contained in:
parent
6707c9541e
commit
f03ad509ec
13
iputils-ss021109-open_max.diff
Normal file
13
iputils-ss021109-open_max.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: iputils/rdisc.c
|
||||||
|
===================================================================
|
||||||
|
--- iputils.orig/rdisc.c 2007-12-12 15:41:01.000000000 +0100
|
||||||
|
+++ iputils/rdisc.c 2007-12-12 15:42:15.000000000 +0100
|
||||||
|
@@ -246,7 +246,7 @@ void do_fork(void)
|
||||||
|
if ((pid=fork()) != 0)
|
||||||
|
exit(0);
|
||||||
|
|
||||||
|
- for (t = 0; t < OPEN_MAX; t++)
|
||||||
|
+ for (t = 0; t < sysconf(_SC_OPEN_MAX); t++)
|
||||||
|
if (t != s)
|
||||||
|
close(t);
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 12 15:44:07 CET 2007 - rguenther@suse.de
|
||||||
|
|
||||||
|
- use sysconf(_SC_OPEN_MAX) instead of OPEN_MAX to fix build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 6 09:14:02 CET 2007 - ms@suse.de
|
Tue Mar 6 09:14:02 CET 2007 - ms@suse.de
|
||||||
|
|
||||||
|
10
iputils.spec
10
iputils.spec
@ -13,12 +13,12 @@
|
|||||||
Name: iputils
|
Name: iputils
|
||||||
Summary: IPv4and IPv6 Networking Utilities
|
Summary: IPv4and IPv6 Networking Utilities
|
||||||
Version: ss021109
|
Version: ss021109
|
||||||
Release: 198
|
Release: 237
|
||||||
License: BSD License and BSD-like, GNU General Public License (GPL)
|
License: BSD 3-Clause; GPL v2 or later
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Provides: nkitb
|
Provides: nkitb
|
||||||
Obsoletes: nkitb
|
Obsoletes: nkitb
|
||||||
URL: ftp://ftp.tux.org/people/alexey-kuznetsov/ip-routing
|
Url: ftp://ftp.tux.org/people/alexey-kuznetsov/ip-routing
|
||||||
Source: iputils-%{version}-try.tar.bz2
|
Source: iputils-%{version}-try.tar.bz2
|
||||||
Patch: %name-%version.diff
|
Patch: %name-%version.diff
|
||||||
Patch1: %name-%version-rdisc-server.patch
|
Patch1: %name-%version-rdisc-server.patch
|
||||||
@ -37,6 +37,7 @@ Patch13: %name-HZ.patch
|
|||||||
Patch14: %name-%version-ping6_getaddrinfo.patch
|
Patch14: %name-%version-ping6_getaddrinfo.patch
|
||||||
Patch15: %name-%version-ping_common.dif
|
Patch15: %name-%version-ping_common.dif
|
||||||
Patch16: %name-ss021109-traceroute6-ttab.diff
|
Patch16: %name-ss021109-traceroute6-ttab.diff
|
||||||
|
Patch17: %name-%version-open_max.diff
|
||||||
Prefix: %_prefix
|
Prefix: %_prefix
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -69,6 +70,7 @@ Authors:
|
|||||||
%patch14
|
%patch14
|
||||||
%patch15
|
%patch15
|
||||||
%patch16
|
%patch16
|
||||||
|
%patch17 -p1
|
||||||
mkdir linux
|
mkdir linux
|
||||||
touch linux/autoconf.h
|
touch linux/autoconf.h
|
||||||
|
|
||||||
@ -115,6 +117,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(644,root,root) %_mandir/man8/*
|
%attr(644,root,root) %_mandir/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 12 2007 - rguenther@suse.de
|
||||||
|
- use sysconf(_SC_OPEN_MAX) instead of OPEN_MAX to fix build
|
||||||
* Tue Mar 06 2007 - ms@suse.de
|
* Tue Mar 06 2007 - ms@suse.de
|
||||||
- fixed overbound ttab2 array access (#251195)
|
- fixed overbound ttab2 array access (#251195)
|
||||||
* Wed Dec 06 2006 - ms@suse.de
|
* Wed Dec 06 2006 - ms@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user