OBS User unknown 2008-06-30 13:46:23 +00:00 committed by Git OBS Bridge
parent 30a439fc1b
commit ca78b8e636
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- lib/libnetlink.c 2007-10-16 21:26:51.000000000 +0000
+++ lib/libnetlink.c 2008-04-09 05:27:02.000000000 +0000
@@ -632,6 +632,6 @@
rta = RTA_DATA(rta) + RTA_ALIGN(len);
return parse_rtattr_nested(tb, max, rta);
}
- memset(tb, 0, sizeof(struct rtattr *) * max);
+ memset(tb, 0, sizeof(struct rtattr *) * (max + 1));
return 0;
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 30 10:02:03 CEST 2008 - ms@suse.de
- fixed 'tc qdisc' segmentation fault (bnc #404755)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 8 11:48:54 CEST 2008 - ms@suse.de Thu May 8 11:48:54 CEST 2008 - ms@suse.de

View File

@ -18,7 +18,7 @@ Group: Productivity/Networking/Routing
Provides: iproute Provides: iproute
AutoReqProv: on AutoReqProv: on
Version: 2.6.23 Version: 2.6.23
Release: 65 Release: 78
Summary: Advanced Routing Summary: Advanced Routing
Url: http://developer.osdl.org/dev/iproute2/ Url: http://developer.osdl.org/dev/iproute2/
Source0: %name-%version.tar.bz2 Source0: %name-%version.tar.bz2
@ -30,6 +30,7 @@ Patch4: %name-2.6.23-resolve-address.diff
Patch5: %name-2.6.23-fragtimeout.diff Patch5: %name-2.6.23-fragtimeout.diff
Patch6: %name-2.6.23-flushcheckuid.diff Patch6: %name-2.6.23-flushcheckuid.diff
Patch7: %name-2.6.23-strip.diff Patch7: %name-2.6.23-strip.diff
Patch8: %name-2.6.23-qdisc.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n libnlink %package -n libnlink
@ -66,6 +67,7 @@ Authors:
%patch5 %patch5
%patch6 %patch6
%patch7 %patch7
%patch8
find . -name *.orig -print0 | xargs -r0 rm -v find . -name *.orig -print0 | xargs -r0 rm -v
%build %build
@ -115,6 +117,8 @@ rm -rf $RPM_BUILD_ROOT
%_libdir/lib* %_libdir/lib*
%changelog %changelog
* Mon Jun 30 2008 ms@suse.de
- fixed 'tc qdisc' segmentation fault (bnc #404755)
* Thu May 08 2008 ms@suse.de * Thu May 08 2008 ms@suse.de
- compile libnetlink with -fPIC (bnc #388021) - compile libnetlink with -fPIC (bnc #388021)
* Wed Apr 16 2008 schwab@suse.de * Wed Apr 16 2008 schwab@suse.de