rpms/ebtables/devel ebtables-v2.0.8-rc2-segfaultfix.patch, NONE, 1.1 ebtables.spec, 1.11, 1.12

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


Author: spot

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

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/devel/ebtables.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ebtables.spec	12 Sep 2006 23:09:26 -0000	1.11
+++ ebtables.spec	14 Sep 2006 19:01:04 -0000	1.12
@@ -2,7 +2,7 @@
 
 Name:		ebtables
 Version:	2.0.8
-Release:	0.2.%{prever}%{?dist}
+Release:	0.3.%{prever}%{?dist}
 Summary:	Ethernet Bridge frame table administration tool
 License:	GPL
 Group:		System Environment/Base
@@ -10,6 +10,7 @@
 Source0:	http://dl.sf.net/ebtables/ebtables-v%{version}-%{prever}.tar.gz
 Source1:	ebtables.sysv
 Patch0:		ebtables-2.0.8-noconfigh.patch
+Patch1:		ebtables-v2.0.8-rc2-segfaultfix.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 PreReq:		/sbin/chkconfig
 PreReq:		/sbin/service
@@ -28,6 +29,7 @@
 %prep
 %setup -q -n ebtables-v%{version}-%{prever}
 %patch0 -p1
+%patch1 -p1
 
 %build
 MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector//g'`
@@ -78,6 +80,9 @@
 %ghost %{_sysconfdir}/ebtables.broute
 
 %changelog
+* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.8-0.3.rc2
+- fix bugzilla 206257
+
 * Tue Sep 12 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.8-0.2.rc2
 - fix for FC-6
 




More information about the fedora-extras-commits mailing list