From 661e84258b3588ebe8b4d3f781f73715d2c54cc8 Mon Sep 17 00:00:00 2001 From: Sona Sarmadi Date: Tue, 3 Feb 2015 13:09:58 +0100 Subject: binutils: several security fixes CVE-2014-8484 CVE-2014-8485 CVE-2014-8501 CVE-2014-8502 CVE-2014-8503 CVE-2014-8504 CVE-2014-8737 Signed-off-by: Sona Sarmadi --- .../binutils/binutils/binutils_CVE-2014-8503.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8503.patch (limited to 'meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8503.patch') diff --git a/meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8503.patch b/meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8503.patch new file mode 100644 index 0000000000..2dd3354fc1 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/binutils_CVE-2014-8503.patch @@ -0,0 +1,47 @@ +Upstream-Status: Backport + +CVE-2014-8503 fix. + +[YOCTO #7084] + +Signed-off-by: Armin Kuster + +From 0102ea8cec5fc509bba6c91df61b7ce23a799d32 Mon Sep 17 00:00:00 2001 +From: Nick Clifton +Date: Thu, 30 Oct 2014 17:16:17 +0000 +Subject: [PATCH] Fixes a seg-fault in the ihex parser when it encounters a + malformed ihex file. + + PR binutils/17512 + * ihex.c (ihex_scan): Fix typo in invocation of ihex_bad_byte. +--- + bfd/ChangeLog | 1 + + bfd/ihex.c | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +Index: binutils-2.24/bfd/ihex.c +=================================================================== +--- binutils-2.24.orig/bfd/ihex.c ++++ binutils-2.24/bfd/ihex.c +@@ -322,7 +322,7 @@ ihex_scan (bfd *abfd) + { + if (! ISHEX (buf[i])) + { +- ihex_bad_byte (abfd, lineno, hdr[i], error); ++ ihex_bad_byte (abfd, lineno, buf[i], error); + goto error_return; + } + } +Index: binutils-2.24/bfd/ChangeLog +=================================================================== +--- binutils-2.24.orig/bfd/ChangeLog ++++ binutils-2.24/bfd/ChangeLog +@@ -1,3 +1,8 @@ ++2014-10-30 Nick Clifton ++ ++ PR binutils/17512 ++ * ihex.c (ihex_scan): Fix typo in invocation of ihex_bad_byte. ++ + 2014-10-27 Nick Clifton + + PR binutils/17512 -- cgit v1.2.3-54-g00ecf