This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/20248] debug/tst-longjump_chk2 calls printf from a signal handler
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 13 Jun 2016 14:40:04 +0000
- Subject: [Bug libc/20248] debug/tst-longjump_chk2 calls printf from a signal handler
- Auto-submitted: auto-generated
- References: <bug-20248-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20248
--- 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 2c41b52901331f5c761015af786a3976e225d779 (commit)
from f5c77f78ec03363d5e550c4996deb75ee3f2e32a (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=2c41b52901331f5c761015af786a3976e225d779
commit 2c41b52901331f5c761015af786a3976e225d779
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon Jun 13 13:08:39 2016 +0200
debug/tst-longjmp_chk2: Make signal handler more conservative [BZ #20248]
Currently, printf needs more stack space than what is available with
SIGSTKSZ. This commit use the the write system call directly instead.
Also use sig_atomic_t for the âpassâ variable (for general
correctness), and restore signal handlers to their defaults, to avoid
masking crashes.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++++
debug/tst-longjmp_chk2.c | 23 ++++++++++++++++++-----
2 files changed, 27 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.