diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-08-03 21:09:02 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-08-03 21:09:02 +0000 |
commit | 3bf6c2f14c0cd6b736b5c74b3f48de16a81f74cc (patch) | |
tree | 7e3fd5cf03012e3c8be0ee37f9cfe971483ffb4f /system/binutils/CVE-2019-9073.patch | |
parent | bfb958d612a2b14c62e69725b7d6f6d50d260f12 (diff) | |
parent | 0a29ea8a1e1a794d19ba9f23ccc2836379419e18 (diff) | |
download | packages-3bf6c2f14c0cd6b736b5c74b3f48de16a81f74cc.tar.gz packages-3bf6c2f14c0cd6b736b5c74b3f48de16a81f74cc.tar.bz2 packages-3bf6c2f14c0cd6b736b5c74b3f48de16a81f74cc.tar.xz packages-3bf6c2f14c0cd6b736b5c74b3f48de16a81f74cc.zip |
Merge branch 'binutils-cve' into 'master'
system/binutils: patch multiple CVEs (#116)
See merge request adelie/packages!304
Diffstat (limited to 'system/binutils/CVE-2019-9073.patch')
-rw-r--r-- | system/binutils/CVE-2019-9073.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/system/binutils/CVE-2019-9073.patch b/system/binutils/CVE-2019-9073.patch new file mode 100644 index 000000000..9ea45707b --- /dev/null +++ b/system/binutils/CVE-2019-9073.patch @@ -0,0 +1,31 @@ +From 7d272a55caebfc26ab2e15d1e9439bac978b9bb7 Mon Sep 17 00:00:00 2001 +From: Alan Modra <amodra@gmail.com> +Date: Wed, 20 Feb 2019 12:06:31 +1030 +Subject: [PATCH] PR24233, Out of memory + + PR 24233 + * objdump.c (dump_bfd_private_header): Print warning if + bfd_print_private_bfd_data returns false. +--- + binutils/ChangeLog | 6 ++++++ + binutils/objdump.c | 4 +++- + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/binutils/objdump.c b/binutils/objdump.c +index 8725390..7d0c6a4 100644 +--- a/binutils/objdump.c ++++ b/binutils/objdump.c +@@ -3178,7 +3178,9 @@ dump_bfd_header (bfd *abfd) + static void + dump_bfd_private_header (bfd *abfd) + { +- bfd_print_private_bfd_data (abfd, stdout); ++ if (!bfd_print_private_bfd_data (abfd, stdout)) ++ non_fatal (_("warning: private headers incomplete: %s"), ++ bfd_errmsg (bfd_get_error ())); + } + + static void +-- +2.9.3 + |