Commit e4749f04 authored by Aurelien Jarno's avatar Aurelien Jarno

debian/patches/git-updates.diff: update from upstream stable branch:

* debian/patches/git-updates.diff: update from upstream stable branch:
  - Fix stack buffer overflow in realpath() (CVE-2018-11236).  Closes:
    #899071.
  - Fix buffer overflow in AVX-512-optimized implementation of mempcpy()
    (CVE-2018-11237).  Closes: #899070.
  - Fix crashes with binaries using vtable interposition.  Closes:
    #861116.
  - debian/patches/arm/unsubmitted-ldso-abi-check.diff: refresh, sigh.
parent 410786b7
......@@ -6,7 +6,14 @@ glibc (2.27-4) UNRELEASED; urgency=medium
between SIGCHLD and timer_create. Closes: Bug#894379.
[ Aurelien Jarno ]
* debian/patches/git-updates.diff: update from upstream stable branch.
* debian/patches/git-updates.diff: update from upstream stable branch:
- Fix stack buffer overflow in realpath() (CVE-2018-11236). Closes:
#899071.
- Fix buffer overflow in AVX-512-optimized implementation of mempcpy()
(CVE-2018-11237). Closes: #899070.
- Fix crashes with binaries using vtable interposition. Closes:
#861116.
- debian/patches/arm/unsubmitted-ldso-abi-check.diff: refresh, sigh.
* debian/debhelper.in/libc.docs: do not try to install BUGS in the
documentation, it has been removed upstream in version 2.27 as
obsolete. Closes: #902800.
......
---
elf/dl-load.c | 218 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 218 insertions(+)
elf/dl-load.c | 219 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 219 insertions(+)
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1644,6 +1644,209 @@
@@ -1438,6 +1438,209 @@
_dl_debug_printf_c ("\t\t(%s)\n", what);
}
......@@ -214,7 +214,7 @@
/* Open a file and verify it is an ELF file for this architecture. We
ignore only ELF files for other architectures. Non-ELF files and
ELF files with different header information cause fatal errors since
@@ -1842,6 +2044,7 @@
@@ -1676,6 +1879,7 @@
/* Check .note.ABI-tag if present. */
for (ph = phdr; ph < &phdr[ehdr->e_phnum]; ++ph)
......@@ -222,9 +222,9 @@
if (ph->p_type == PT_NOTE && ph->p_filesz >= 32 && ph->p_align >= 4)
{
ElfW(Addr) size = ph->p_filesz;
@@ -1890,6 +2093,21 @@
break;
@@ -1751,6 +1955,21 @@
}
free (abi_note_malloced);
}
+ if (-1 != fd)
+ {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment