rpms/quagga/F-10 quagga-0.99.10-asn32.patch, NONE, 1.1 quagga.spec, 1.46, 1.47
Jiri Skala
jskala at fedoraproject.org
Mon May 4 13:16:25 UTC 2009
Author: jskala
Update of /cvs/extras/rpms/quagga/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8937
Modified Files:
quagga.spec
Added Files:
quagga-0.99.10-asn32.patch
Log Message:
* Mon May 04 2009 Jiri Skala <jskala at redhat.com> - 0.99.10-3
- fixes #498832 - bgpd crashes on as paths containing more 6 digit as numbers
quagga-0.99.10-asn32.patch:
--- NEW FILE quagga-0.99.10-asn32.patch ---
diff -up quagga-0.99.10/bgpd/bgp_aspath.c.asn32 quagga-0.99.10/bgpd/bgp_aspath.c
--- quagga-0.99.10/bgpd/bgp_aspath.c.asn32 2009-05-04 15:10:48.000000000 +0200
+++ quagga-0.99.10/bgpd/bgp_aspath.c 2009-05-04 15:11:10.000000000 +0200
@@ -549,7 +549,7 @@ aspath_make_str_count (struct aspath *as
* With 32bit ASNs, this range will increase, but only worth changing
* once there are significant numbers of ASN >= 100000
*/
-#define ASN_STR_LEN (5 + 1)
+#define ASN_STR_LEN (10 + 1)
str_size = MAX (assegment_count_asns (seg, 0) * ASN_STR_LEN + 2 + 1,
ASPATH_STR_DEFAULT_LEN);
str_buf = XMALLOC (MTYPE_AS_STR, str_size);
Index: quagga.spec
===================================================================
RCS file: /cvs/extras/rpms/quagga/F-10/quagga.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- quagga.spec 3 Sep 2008 19:46:03 -0000 1.46
+++ quagga.spec 4 May 2009 13:15:54 -0000 1.47
@@ -32,15 +32,15 @@
Summary: Routing daemon
Name: quagga
Version: 0.99.10
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 0
License: GPLv2+
Group: System Environment/Daemons
Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz
Source1: quagga-filter-perl-requires.sh
Patch2: quagga-0.96.5-nostart.patch
-#Patch6: quagga-0.98.5-pie.patch
Patch7: quagga-0.99.9-initscript.patch
+Patch8: quagga-0.99.10-asn32.patch
URL: http://www.quagga.net
%if %with_snmp
@@ -93,11 +93,10 @@ developing OSPF-API and quagga applicati
%prep
%setup -q
-#%patch0 -p1 -b .lib64
%patch2 -p1 -b .nostart
# This creates a .diff file that we apply after configuring
-#%patch6 -p1
%patch7 -p1 -b .initscript
+%patch8 -p1 -b .asn32
%build
# FC5+ automatic -fstack-protector-all switch
@@ -348,6 +347,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Mon May 04 2009 Jiri Skala <jskala at redhat.com> - 0.99.10-3
+- fixes #498832 - bgpd crashes on as paths containing more 6 digit as numbers
+
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.99.10-2
- fix license tag
More information about the scm-commits
mailing list