diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-25 12:16:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-25 13:17:33 +0000 |
commit | 8d6982ebe3ec8098818bdfb8bd8f52895cca0fc0 (patch) | |
tree | 1950d7f5e492cd46caacf0c63bcf98d4551e8bcc /main/binutils/binutils-2.24-CVE-2014-8501.patch | |
parent | 54ccbebebc92d0f6035c3eaa8e39f81f69fe149b (diff) | |
download | aports-8d6982ebe3ec8098818bdfb8bd8f52895cca0fc0.tar.bz2 aports-8d6982ebe3ec8098818bdfb8bd8f52895cca0fc0.tar.xz |
main/binutils: upgrade to 2.25
Diffstat (limited to 'main/binutils/binutils-2.24-CVE-2014-8501.patch')
-rw-r--r-- | main/binutils/binutils-2.24-CVE-2014-8501.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/main/binutils/binutils-2.24-CVE-2014-8501.patch b/main/binutils/binutils-2.24-CVE-2014-8501.patch deleted file mode 100644 index 1312885854..0000000000 --- a/main/binutils/binutils-2.24-CVE-2014-8501.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c -index 2fb631c..987be40 100644 ---- a/bfd/peXXigen.c -+++ b/bfd/peXXigen.c -@@ -504,6 +504,18 @@ _bfd_XXi_swap_aouthdr_in (bfd * abfd, - { - int idx; - -+ /* PR 17512: Corrupt PE binaries can cause seg-faults. */ -+ if (a->NumberOfRvaAndSizes > 16) -+ { -+ (*_bfd_error_handler) -+ (_("%B: aout header specifies an invalid number of data-directory entries: %d"), -+ abfd, a->NumberOfRvaAndSizes); -+ /* Paranoia: If the number is corrupt, then assume that the -+ actual entries themselves might be corrupt as well. */ -+ a->NumberOfRvaAndSizes = 0; -+ } -+ -+ - for (idx = 0; idx < a->NumberOfRvaAndSizes; idx++) - { - /* If data directory is empty, rva also should be 0. */ --- -1.7.1 - |