This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22667] makecontext lacks stack alignment on i386
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 04 Jan 2018 17:48:37 +0000
- Subject: [Bug libc/22667] makecontext lacks stack alignment on i386
- Auto-submitted: auto-generated
- References: <bug-22667-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22667
--- Comment #1 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 8a5df95ffa83f525a4f638ead743f4fa2b7fe45a (commit)
from 82eef55f8fad3e00c53050de5d6ebea08df488b3 (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=8a5df95ffa83f525a4f638ead743f4fa2b7fe45a
commit 8a5df95ffa83f525a4f638ead743f4fa2b7fe45a
Author: Florian Weimer <fweimer@redhat.com>
Date: Thu Jan 4 18:00:05 2018 +0100
i386: In makecontext, align the stack before calling exit [BZ #22667]
Before this change, if glibc was compiled with SSE instructions and a
sufficiently recent GCC, an unaligned stack access in
__run_exit_handlers would cause stdlib/tst-makecontext to crash.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 +
stdlib/Makefile | 3 +-
stdlib/tst-makecontext-align.c | 241 ++++++++++++++++++++++++++++
sysdeps/unix/sysv/linux/i386/makecontext.S | 14 ++-
4 files changed, 263 insertions(+), 3 deletions(-)
create mode 100644 stdlib/tst-makecontext-align.c
--
You are receiving this mail because:
You are on the CC list for the bug.