From a8446ea78daa5875de43eb5bcccd8f536ea07e1c Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 8 Jan 2015 00:11:40 -0800 Subject: binutils: upgrade to 2.25 * Remove the following patches since they are already in the new code: binutils/fix-pr15815.patch binutils/fix-pr16428.patch binutils/fix-pr16476.patch binutils/fix-pr2404.patch binutils/replace_macros_with_static_inline.patch binutils/binutils_CVE-2014-8484.patch binutils/binutils_CVE-2014-8485.patch binutils/binutils_CVE-2014-8501.patch binutils/binutils_CVE-2014-8502.patch binutils/binutils_CVE-2014-8502_1.patch binutils/binutils_CVE-2014-8503.patch binutils/binutils_CVE-2014-8504.patch binutils/binutils_CVE-2014-8737.patch * The file src-release is gone. * Updated patches for the new code. Signed-off-by: Robert Yang Signed-off-by: Khem Raj Conflicts: meta/conf/distro/include/tcmode-default.inc --- .../binutils/binutils/binutils_CVE-2014-8484.patch | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8484.patch (limited to 'meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8484.patch') diff --git a/meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8484.patch b/meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8484.patch deleted file mode 100644 index e789499477..0000000000 --- a/meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8484.patch +++ /dev/null @@ -1,67 +0,0 @@ -Upstream-Status: Backport - -CVE-2014-8484 fix. - -[YOCTO #7084] - -Signed-off-by: Armin Kuster - -From bd25671c6f202c4a5108883caa2adb24ff6f361f Mon Sep 17 00:00:00 2001 -From: Alan Modra -Date: Fri, 29 Aug 2014 10:36:29 +0930 -Subject: [PATCH] Report an error for S-records with less than the miniumum - size - - * srec.c (srec_scan): Revert last change. Report an error for - S-records with less than the miniumum byte count. ---- - bfd/ChangeLog | 5 +++++ - bfd/srec.c | 18 +++++++++++++++--- - 2 files changed, 20 insertions(+), 3 deletions(-) - -Index: binutils-2.24/bfd/srec.c -=================================================================== ---- binutils-2.24.orig/bfd/srec.c -+++ binutils-2.24/bfd/srec.c -@@ -455,7 +455,7 @@ srec_scan (bfd *abfd) - { - file_ptr pos; - char hdr[3]; -- unsigned int bytes; -+ unsigned int bytes, min_bytes; - bfd_vma address; - bfd_byte *data; - unsigned char check_sum; -@@ -478,6 +478,19 @@ srec_scan (bfd *abfd) - } - - check_sum = bytes = HEX (hdr + 1); -+ min_bytes = 3; -+ if (hdr[0] == '2' || hdr[0] == '8') -+ min_bytes = 4; -+ else if (hdr[0] == '3' || hdr[0] == '7') -+ min_bytes = 5; -+ if (bytes < min_bytes) -+ { -+ (*_bfd_error_handler) (_("%B:%d: byte count %d too small\n"), -+ abfd, lineno, bytes); -+ bfd_set_error (bfd_error_bad_value); -+ goto error_return; -+ } -+ - if (bytes * 2 > bufsize) - { - if (buf != NULL) -Index: binutils-2.24/bfd/ChangeLog -=================================================================== ---- binutils-2.24.orig/bfd/ChangeLog -+++ binutils-2.24/bfd/ChangeLog -@@ -1,3 +1,8 @@ -+2014-08-29 Alan Modra -+ -+ * srec.c (srec_scan): Revert last change. Report an error for -+ S-records with less than the miniumum byte count. -+ - 2013-12-02 Tristan Gingold - - * configure.in: Bump version to 2.24 -- cgit 1.2.3-korg