fixes #746886 - severe memory leak in quagga 0.99.{19,20}

This commit is contained in:
Jiri Skala 2011-10-18 10:04:26 +02:00
parent ed15e3a776
commit fca995d38b
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
index d43c104..3908e72 100644
--- a/bgpd/bgp_attr.c
+++ b/bgpd/bgp_attr.c
@@ -675,6 +675,7 @@ bgp_attr_unintern (struct attr **attr)
}
bgp_attr_unintern_sub (&tmp);
+ bgp_attr_extra_free (&tmp);
}
void

View File

@ -32,7 +32,7 @@
Summary: Routing daemon
Name: quagga
Version: 0.99.20
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Daemons
Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz
@ -44,6 +44,7 @@ Source1: quagga-filter-perl-requires.sh
Patch101: quagga-0.99.15-perl_pth.patch
Patch102: quagga-0.99.16-posix.patch
Patch103: quagga-0.99.16-man.patch
Patch104: quagga-0.99.20-memleak.patch
URL: http://www.quagga.net
%if %with_snmp
@ -107,6 +108,7 @@ developing OSPF-API and quagga applications.
%patch101 -p1 -b .perl_pth
%patch102 -p1 -b .posix
%patch103 -p1 -b .man
%patch104 -p1 -b .memleak
%build
# FC5+ automatic -fstack-protector-all switch
@ -376,6 +378,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Tue Oct 18 2011 Jiri Skala <jskala@redhat.com> - 0.99.20-2
- fixes #746886 - severe memory leak in quagga 0.99.{19,20}
* Fri Sep 30 2011 Jiri Skala <jskala@redhat.com> - 0.99.20-1
- updated to latest upstream version 0.99.20
- fixes #741343 - CVE-2011-3325 corrected fix