rpms/ebtables/FC-5 ebtables-v2.0.8-rc2-segfaultfix.patch, NONE, 1.1 ebtables.spec, 1.10, 1.11

Tom Callaway (spot) fedora-extras-commits at redhat.com
Thu Sep 14 19:01:03 UTC 2006


Author: spot

Update of /cvs/extras/rpms/ebtables/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13249/FC-5

Modified Files:
	ebtables.spec 
Added Files:
	ebtables-v2.0.8-rc2-segfaultfix.patch 
Log Message:

Fix bz 206257


ebtables-v2.0.8-rc2-segfaultfix.patch:

--- NEW FILE ebtables-v2.0.8-rc2-segfaultfix.patch ---
--- ebtables-v2.0.8-rc2/libebtc.c.BAD	2006-09-14 13:53:38.000000000 -0500
+++ ebtables-v2.0.8-rc2/libebtc.c	2006-09-14 13:53:54.000000000 -0500
@@ -1033,7 +1033,7 @@
 			stack[sp].e = e;
 			sp++;
 			j = -1;
-			e = entries2->entries;
+			e = entries2->entries->next;
 			chain_nr = verdict + NF_BR_NUMHOOKS;
 			entries = entries2;
 			continue;


Index: ebtables.spec
===================================================================
RCS file: /cvs/extras/rpms/ebtables/FC-5/ebtables.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ebtables.spec	25 Apr 2006 02:19:33 -0000	1.10
+++ ebtables.spec	14 Sep 2006 19:01:03 -0000	1.11
@@ -2,13 +2,14 @@
 
 Name:		ebtables
 Version:	2.0.8
-Release:	0.1.%{prever}%{?dist}
+Release:	0.3.%{prever}%{?dist}
 Summary:	Ethernet Bridge frame table administration tool
 License:	GPL
 Group:		System Environment/Base
 URL:		http://ebtables.sourceforge.net/
 Source0:	http://dl.sf.net/ebtables/ebtables-v%{version}-%{prever}.tar.gz
 Source1:	ebtables.sysv
+Patch0:		ebtables-v2.0.8-rc2-segfaultfix.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 PreReq:		/sbin/chkconfig
 PreReq:		/sbin/service
@@ -26,6 +27,7 @@
 
 %prep
 %setup -q -n ebtables-v%{version}-%{prever}
+%patch0 -p1 
 
 %build
 MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector//g'`
@@ -76,6 +78,9 @@
 %ghost %{_sysconfdir}/ebtables.broute
 
 %changelog
+* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.8-0.3.rc2
+- fix bz 206257
+
 * Mon Apr 24 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.8-0.1.rc2
 - bump to rc2
 




More information about the fedora-extras-commits mailing list