fixes #746886 - severe memory leak in quagga 0.99.{19,20}
This commit is contained in:
parent
55e2f587ec
commit
157ad9cb4c
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
|
||||
@ -46,6 +46,7 @@ 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.18-sysd.patch
|
||||
Patch105: quagga-0.99.20-memleak.patch
|
||||
|
||||
URL: http://www.quagga.net
|
||||
%if %with_snmp
|
||||
@ -124,6 +125,7 @@ developing OSPF-API and quagga applications.
|
||||
%patch102 -p1 -b .posix
|
||||
%patch103 -p1 -b .man
|
||||
%patch104 -p1 -b .sysd
|
||||
%patch105 -p1 -b .memmleak
|
||||
|
||||
%build
|
||||
# FC5+ automatic -fstack-protector-all switch
|
||||
@ -404,6 +406,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