diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2025-03-25 18:59:53 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2025-03-25 21:58:03 +0900 |
commit | 0d0e76b99025704d8ee44a44b19a23af9aafe297 (patch) | |
tree | f1970ce05069622c88797185265c87112e373bf3 /newlib/libc/stdio/putwchar.c | |
parent | 2ef1a37e7823b21eda524972c006e0e8c26f97b3 (diff) | |
download | newlib-master.zip newlib-master.tar.gz newlib-master.tar.bz2 |
Cygwin: signal: Copy context to alternate stack in the SA_ONSTACK caseHEADgithub/mastergithub/mainmastermain
After the commit 0210c77311ae, the context passed to signal handler
cannot be accessed from the signal handler that uses alternate stack.
This is because the context locally copied is on the stack that is
different area from the signal handler uses. With this patch, copy
the context to alternate signal stack area to avoid this situation.
Addresses: https://cygwin.com/pipermail/cygwin/2025-March/257714.html
Fixes: 0210c77311ae ("Cygwin: signal: Use context locally copied in call_signal_handler()")
Reported-by: Bruno Haible <bruno@clisp.org>
Reviewed-by: Corinna Vischen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'newlib/libc/stdio/putwchar.c')
0 files changed, 0 insertions, 0 deletions