[Bug libc/18023] extend_alloca is broken (questionable pointer comparison, horrible machine code)
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Wed Jun 27 15:59:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=18023
--- Comment #15 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 92d6aa8528f2ddab2361bc160a96b9cd3c497a11 (commit)
via 890c2ced35cfbf2de7d787fd37caf23d250da531 (commit)
via 4272059de256fb20a7b19b5f8509e0c8d27beaf4 (commit)
from 95f8ae8c83a049a100c7750d3496c59ba47626cd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=92d6aa8528f2ddab2361bc160a96b9cd3c497a11
commit 92d6aa8528f2ddab2361bc160a96b9cd3c497a11
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Jun 27 17:55:55 2018 +0200
_dl_map_object_deps: Use struct scratch_buffer [BZ #18023]
The function comment suggests that _dl_map_object_deps cannot use
malloc, but it already allocates the l_initfini array on the heap, so
the additional allocation should be acceptable.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=890c2ced35cfbf2de7d787fd37caf23d250da531
commit 890c2ced35cfbf2de7d787fd37caf23d250da531
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Jun 27 17:55:38 2018 +0200
gethostid (Linux variant): Switch to struct scratch_buffer [BZ #18023]
Previously, extend_alloca was used without alloca accounting,
which could have been problematic with large NSS results.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4272059de256fb20a7b19b5f8509e0c8d27beaf4
commit 4272059de256fb20a7b19b5f8509e0c8d27beaf4
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Jun 27 17:54:44 2018 +0200
wordexp: Rewrite parse_tilde to use struct scratch_buffer [BZ #18023]
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 18 +++++++++++++
elf/dl-deps.c | 28 +++++++++++--------
posix/wordexp.c | 46 +++++++++++++++++++++------------
sysdeps/unix/sysv/linux/gethostid.c | 48 ++++++++++++++++++++++------------
4 files changed, 94 insertions(+), 46 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list