summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.28.inc2
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2017-6965.patch15
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2017-6966.patch20
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2017-6969.patch14
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2017-6969_2.patch18
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2017-7209.patch14
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2017-7210.patch15
7 files changed, 1 insertions, 97 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.28.inc b/meta/recipes-devtools/binutils/binutils-2.28.inc
index 40b518bf7a..b37bb0e03a 100644
--- a/meta/recipes-devtools/binutils/binutils-2.28.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.28.inc
@@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}"
18 18
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" 19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20 20
21SRCREV = "354199c7692c1bed53a2a15f0e4d531457e95f17" 21SRCREV = "cb44d42ce6ef0c7a4eed7e2a3c272ac102166850"
22SRC_URI = "\ 22SRC_URI = "\
23 git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \ 23 git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
24 file://0003-gprof-add-uclibc-support-to-configure.patch \ 24 file://0003-gprof-add-uclibc-support-to-configure.patch \
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2017-6965.patch b/meta/recipes-devtools/binutils/binutils/CVE-2017-6965.patch
index 1334c9444d..6697d4bc95 100644
--- a/meta/recipes-devtools/binutils/binutils/CVE-2017-6965.patch
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2017-6965.patch
@@ -19,21 +19,6 @@ Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
19 binutils/readelf.c | 30 +++++++++++++++++++++++++----- 19 binutils/readelf.c | 30 +++++++++++++++++++++++++-----
20 2 files changed, 32 insertions(+), 5 deletions(-) 20 2 files changed, 32 insertions(+), 5 deletions(-)
21 21
22diff --git a/binutils/ChangeLog b/binutils/ChangeLog
23index f21867f98c..e789a3b99b 100644
24--- a/binutils/ChangeLog
25+++ b/binutils/ChangeLog
26@@ -1,3 +1,10 @@
27+2017-02-13 Nick Clifton <nickc@redhat.com>
28+
29+ PR binutils/21137
30+ * readelf.c (target_specific_reloc_handling): Add end parameter.
31+ Check for buffer overflow before writing relocated values.
32+ (apply_relocations): Pass end to target_specific_reloc_handling.
33+
34 2017-03-02 Tristan Gingold <gingold@adacore.com>
35
36 * configure: Regenerate.
37diff --git a/binutils/readelf.c b/binutils/readelf.c 22diff --git a/binutils/readelf.c b/binutils/readelf.c
38index b5f577f5a1..8cdaae3b8c 100644 23index b5f577f5a1..8cdaae3b8c 100644
39--- a/binutils/readelf.c 24--- a/binutils/readelf.c
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2017-6966.patch b/meta/recipes-devtools/binutils/binutils/CVE-2017-6966.patch
index dd58df5fbf..206e493b6e 100644
--- a/meta/recipes-devtools/binutils/binutils/CVE-2017-6966.patch
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2017-6966.patch
@@ -22,26 +22,6 @@ Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
22 binutils/readelf.c | 109 +++++++++++++++++++++++++++++++++++++++++------------ 22 binutils/readelf.c | 109 +++++++++++++++++++++++++++++++++++++++++------------
23 2 files changed, 94 insertions(+), 25 deletions(-) 23 2 files changed, 94 insertions(+), 25 deletions(-)
24 24
25diff --git a/binutils/ChangeLog b/binutils/ChangeLog
26index e789a3b99b..bd63c8a0d8 100644
27--- a/binutils/ChangeLog
28+++ b/binutils/ChangeLog
29@@ -1,5 +1,15 @@
30 2017-02-13 Nick Clifton <nickc@redhat.com>
31
32+ PR binutils/21139
33+ * readelf.c (target_specific_reloc_handling): Add num_syms
34+ parameter. Check for symbol table overflow before accessing
35+ symbol value. If reloc pointer is NULL, discard all saved state.
36+ (apply_relocations): Pass num_syms to target_specific_reloc_handling.
37+ Call target_specific_reloc_handling with a NULL reloc pointer
38+ after processing all of the relocs.
39+
40+2017-02-13 Nick Clifton <nickc@redhat.com>
41+
42 PR binutils/21137
43 * readelf.c (target_specific_reloc_handling): Add end parameter.
44 Check for buffer overflow before writing relocated values.
45diff --git a/binutils/readelf.c b/binutils/readelf.c 25diff --git a/binutils/readelf.c b/binutils/readelf.c
46index 8cdaae3b8c..7c158c6342 100644 26index 8cdaae3b8c..7c158c6342 100644
47--- a/binutils/readelf.c 27--- a/binutils/readelf.c
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2017-6969.patch b/meta/recipes-devtools/binutils/binutils/CVE-2017-6969.patch
index ed5403430c..7dfa3d87c3 100644
--- a/meta/recipes-devtools/binutils/binutils/CVE-2017-6969.patch
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2017-6969.patch
@@ -17,20 +17,6 @@ Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
17 binutils/readelf.c | 10 ++++++++-- 17 binutils/readelf.c | 10 ++++++++--
18 2 files changed, 14 insertions(+), 2 deletions(-) 18 2 files changed, 14 insertions(+), 2 deletions(-)
19 19
20diff --git a/binutils/ChangeLog b/binutils/ChangeLog
21index bd63c8a0d8..1d840b42f9 100644
22--- a/binutils/ChangeLog
23+++ b/binutils/ChangeLog
24@@ -1,3 +1,9 @@
25+2017-02-17 Nick Clifton <nickc@redhat.com>
26+
27+ PR binutils/21156
28+ * readelf.c (find_section_in_set): Test for invalid section
29+ indicies.
30+
31 2017-02-13 Nick Clifton <nickc@redhat.com>
32
33 PR binutils/21139
34diff --git a/binutils/readelf.c b/binutils/readelf.c 20diff --git a/binutils/readelf.c b/binutils/readelf.c
35index 7c158c6342..4960491c5c 100644 21index 7c158c6342..4960491c5c 100644
36--- a/binutils/readelf.c 22--- a/binutils/readelf.c
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2017-6969_2.patch b/meta/recipes-devtools/binutils/binutils/CVE-2017-6969_2.patch
index 59a5dec675..5409511a7c 100644
--- a/meta/recipes-devtools/binutils/binutils/CVE-2017-6969_2.patch
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2017-6969_2.patch
@@ -21,24 +21,6 @@ Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
21 binutils/dwarf.c | 34 ++++++++++++++++++++-------------- 21 binutils/dwarf.c | 34 ++++++++++++++++++++--------------
22 2 files changed, 30 insertions(+), 14 deletions(-) 22 2 files changed, 30 insertions(+), 14 deletions(-)
23 23
24diff --git a/binutils/ChangeLog b/binutils/ChangeLog
25index 1d840b42f9..53352c1801 100644
26--- a/binutils/ChangeLog
27+++ b/binutils/ChangeLog
28@@ -1,3 +1,13 @@
29+2017-02-20 Nick Clifton <nickc@redhat.com>
30+
31+ PR binutils/21156
32+ * dwarf.c (cu_tu_indexes_read): Move into...
33+ (load_cu_tu_indexes): ... here. Change the variable into
34+ tri-state. Change the function into boolean, returning
35+ false if the indicies could not be loaded.
36+ (find_cu_tu_set): Return NULL if the indicies could not be
37+ loaded.
38+
39 2017-02-17 Nick Clifton <nickc@redhat.com>
40
41 PR binutils/21156
42diff --git a/binutils/dwarf.c b/binutils/dwarf.c 24diff --git a/binutils/dwarf.c b/binutils/dwarf.c
43index 0184a7ab2e..6d879c9b61 100644 25index 0184a7ab2e..6d879c9b61 100644
44--- a/binutils/dwarf.c 26--- a/binutils/dwarf.c
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2017-7209.patch b/meta/recipes-devtools/binutils/binutils/CVE-2017-7209.patch
index 2357a12836..b14441b4e3 100644
--- a/meta/recipes-devtools/binutils/binutils/CVE-2017-7209.patch
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2017-7209.patch
@@ -16,20 +16,6 @@ Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
16 binutils/readelf.c | 16 ++++++++++++---- 16 binutils/readelf.c | 16 ++++++++++++----
17 2 files changed, 18 insertions(+), 4 deletions(-) 17 2 files changed, 18 insertions(+), 4 deletions(-)
18 18
19diff --git a/binutils/ChangeLog b/binutils/ChangeLog
20index 53352c1801..cf92744c12 100644
21--- a/binutils/ChangeLog
22+++ b/binutils/ChangeLog
23@@ -1,3 +1,9 @@
24+2017-02-13 Nick Clifton <nickc@redhat.com>
25+
26+ PR binutils/21135
27+ * readelf.c (dump_section_as_bytes): Handle the case where
28+ uncompress_section_contents returns false.
29+
30 2017-02-20 Nick Clifton <nickc@redhat.com>
31
32 PR binutils/21156
33diff --git a/binutils/readelf.c b/binutils/readelf.c 19diff --git a/binutils/readelf.c b/binutils/readelf.c
34index 4960491c5c..f0e7b080e8 100644 20index 4960491c5c..f0e7b080e8 100644
35--- a/binutils/readelf.c 21--- a/binutils/readelf.c
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2017-7210.patch b/meta/recipes-devtools/binutils/binutils/CVE-2017-7210.patch
index 8791792c7c..f8ad32f4f8 100644
--- a/meta/recipes-devtools/binutils/binutils/CVE-2017-7210.patch
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2017-7210.patch
@@ -17,21 +17,6 @@ Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
17 binutils/stabs.c | 14 +++++++++++++- 17 binutils/stabs.c | 14 +++++++++++++-
18 2 files changed, 20 insertions(+), 1 deletion(-) 18 2 files changed, 20 insertions(+), 1 deletion(-)
19 19
20diff --git a/binutils/ChangeLog b/binutils/ChangeLog
21index cf92744c12..0045fbaaa6 100644
22--- a/binutils/ChangeLog
23+++ b/binutils/ChangeLog
24@@ -1,3 +1,10 @@
25+2017-02-14 Nick Clifton <nickc@redhat.com>
26+
27+ PR binutils/21157
28+ * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
29+ pairs.
30+ (parse_number): Exit early if passed an empty string.
31+
32 2017-02-13 Nick Clifton <nickc@redhat.com>
33
34 PR binutils/21135
35diff --git a/binutils/stabs.c b/binutils/stabs.c 20diff --git a/binutils/stabs.c b/binutils/stabs.c
36index f5c5d2d8e0..5d013cc361 100644 21index f5c5d2d8e0..5d013cc361 100644
37--- a/binutils/stabs.c 22--- a/binutils/stabs.c