summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2014-04-21 14:24:50 +0800
committerJoe MacDonald <joe@deserted.net>2014-04-24 21:07:46 -0400
commit715893e5ffcce8d32f096c93dd36f345e52c17a7 (patch)
tree249ff92f63e35567f2394ef851dde66dbfb0aec9 /meta-networking
parenta277f303df123e050a98729415fed6a2590e7f76 (diff)
downloadmeta-openembedded-715893e5ffcce8d32f096c93dd36f345e52c17a7.tar.gz
quagga: fix CVE-2013-6051
Backport patch to fix CVE-2013-6051. Signed-off-by: Hu <yadi.hu@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-protocols/quagga/files/quagga-fix-CVE-2013-6051.patch29
-rw-r--r--meta-networking/recipes-protocols/quagga/quagga.inc1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/quagga-fix-CVE-2013-6051.patch b/meta-networking/recipes-protocols/quagga/files/quagga-fix-CVE-2013-6051.patch
new file mode 100644
index 000000000..fde9e0ca8
--- /dev/null
+++ b/meta-networking/recipes-protocols/quagga/files/quagga-fix-CVE-2013-6051.patch
@@ -0,0 +1,29 @@
1
2From 8794e8d229dc9fe29ea31424883433d4880ef408
3From: Paul Jakma <paul@quagga.net>
4Date: Mon, 13 Feb 2012 13:53:07 +0000
5Subject: bgpd: Fix regression in args consolidation, total should be inited from args
6
7bgpd: Fix regression in args consolidation, total should be inited from args
8
9* bgp_attr.c: (bgp_attr_unknown) total should be initialised from the args.
10
11Upstream-Status: Backport
12
13Signed-off-by: Kai Kang <kai.kang@windriver.com>
14---
15
16diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
17index 65af824..839f64d 100644
18--- a/bgpd/bgp_attr.c
19+++ b/bgpd/bgp_attr.c
20
21@@ -1646,7 +1646,7 @@
22 static bgp_attr_parse_ret_t
23 bgp_attr_unknown (struct bgp_attr_parser_args *args)
24 {
25- bgp_size_t total;
26+ bgp_size_t total = args->total;
27 struct transit *transit;
28 struct attr_extra *attre;
29 struct peer *const peer = args->peer;
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
index f043725be..60baab801 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -26,6 +26,7 @@ QUAGGASUBDIR = ""
26SRC_URI = "http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagga-${PV}.tar.gz;name=quagga-${PV} \ 26SRC_URI = "http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagga-${PV}.tar.gz;name=quagga-${PV} \
27 file://fix-for-lib-inpath.patch \ 27 file://fix-for-lib-inpath.patch \
28 file://quagga-0.99.17-libcap.patch \ 28 file://quagga-0.99.17-libcap.patch \
29 file://quagga-fix-CVE-2013-6051.patch \
29 file://Zebra-sync-zebra-routing-table-with-the-kernel-one.patch \ 30 file://Zebra-sync-zebra-routing-table-with-the-kernel-one.patch \
30 file://quagga.init \ 31 file://quagga.init \
31 file://quagga.default \ 32 file://quagga.default \