]> git.ipfire.org Git - thirdparty/glibc.git/commit - stdlib/tst-makecontext-align.c
i386: In makecontext, align the stack before calling exit [BZ #22667]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 4 Jan 2018 17:00:05 +0000 (18:00 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 4 Jan 2018 17:47:35 +0000 (18:47 +0100)
commit8a5df95ffa83f525a4f638ead743f4fa2b7fe45a
treee31a8752224edc6c29d9017685dbea5c215d3254
parent82eef55f8fad3e00c53050de5d6ebea08df488b3
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.
ChangeLog
stdlib/Makefile
stdlib/tst-makecontext-align.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/i386/makecontext.S