diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2025-03-31 12:24:34 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2025-03-31 12:24:34 +0200 |
commit | 0d73c040676a44829a9a3614b4013fa50fdc56e8 (patch) | |
tree | 5f55d8622fef23584d8551f369aed4fcc2bc47bc /newlib/libc/stdio/wscanf.c | |
parent | 3955b88056995bcaf9abe96eed6eaae12435c650 (diff) | |
download | newlib-master.zip newlib-master.tar.gz newlib-master.tar.bz2 |
Cygwin: exceptions: check ExceptionFlags for EXCEPTION_NONCONTINUABLEHEADgithub/mastergithub/mainmastermain
So far, exception::handle returned prematurely if the value of
EXCEPTION_RECORD::ExceptionFlags was non-0.
Starting with Windows 11 we're getting into trouble with that,
if the exception is software generated, for instance by calling
"throw" in a C++ application.
In that case EXCEPTION_SOFTWARE_ORIGINATE (0x80) is set in
EXCEPTION_RECORD::ExceptionFlags.
Change the condition for exiting prematurely to do this only if
any other flag except EXCEPTION_SOFTWARE_ORIGINATE is set in
EXCEPTION_RECORD::ExceptionFlags.
Fixes: Silent change in Windows exception handling
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/wscanf.c')
0 files changed, 0 insertions, 0 deletions