fixes #746886 - severe memory leak in quagga 0.99.{19,20}
This commit is contained in:
parent
5cf8bd0fee
commit
fc24b911d0
12
quagga-0.99.20-memleak.patch
Normal file
12
quagga-0.99.20-memleak.patch
Normal 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
|
@ -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
|
||||
@ -45,6 +45,7 @@ Source2: quagga-tmpfs.conf
|
||||
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
|
||||
@ -108,6 +109,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
|
||||
@ -353,6 +355,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
|
||||
|
Loading…
Reference in New Issue
Block a user