diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-06-04 06:38:22 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-06-04 06:38:22 -0300 |
commit | 00c476b594c415e80583ab285cd55dd2f7743cce (patch) | |
tree | 963f94c30d0a809972528741d5b54256e897b35f /cross/cross-binutils/binutils-2.24-CVE-2014-8484.patch | |
parent | d34fe86cd686ece409617c1816d03539f288d9a8 (diff) | |
download | abslibre-00c476b594c415e80583ab285cd55dd2f7743cce.tar.gz abslibre-00c476b594c415e80583ab285cd55dd2f7743cce.tar.bz2 abslibre-00c476b594c415e80583ab285cd55dd2f7743cce.zip |
update cross-binutils
Diffstat (limited to 'cross/cross-binutils/binutils-2.24-CVE-2014-8484.patch')
-rw-r--r-- | cross/cross-binutils/binutils-2.24-CVE-2014-8484.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/cross/cross-binutils/binutils-2.24-CVE-2014-8484.patch b/cross/cross-binutils/binutils-2.24-CVE-2014-8484.patch deleted file mode 100644 index 69a5e8506..000000000 --- a/cross/cross-binutils/binutils-2.24-CVE-2014-8484.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- binutils-2.24/bfd/srec.c 2013-11-04 16:33:37.000000000 +0100 -+++ binutils-2.24-1/bfd/srec.c 2014-10-24 21:46:38.973046641 +0200 -@@ -455,7 +455,7 @@ - { - 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 @@ - } - - 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) |