Re: [Mingw-w64-public] [PATCH] crt/ssp: disable premature stack protection at canary init

2025-07-06 Thread LIU Hao
在 2025-7-7 03:43, Igor Kostenko 写道: Hi LIU Hao, Is it worth backporting this patch to the prior versions? The file was introduced by the commit 10394c9a966f8e93e9e2f09677dab273a0f6c00c on Sep 13 2022, and since then appeared in branches: > git branch -r  --contains 10394c9a966f8e93e9e2f09677dab

[Mingw-w64-public] [PATCH] doc: ucrt-vs-msvcrt.txt: Fix typo

2025-07-06 Thread Pali Rohár
--- mingw-w64-doc/howto-build/ucrt-vs-msvcrt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-doc/howto-build/ucrt-vs-msvcrt.txt b/mingw-w64-doc/howto-build/ucrt-vs-msvcrt.txt index 4d98a2f43311..3247ff68265f 100644 --- a/mingw-w64-doc/howto-build/ucrt-vs-msvcrt.t

[Mingw-w64-public] [PATCH] crt: testcases: Skip t_aligned_alloc.c on msvcrt10.dll and msvcrt20.dll

2025-07-06 Thread Pali Rohár
These two libraries have broken _msize() function. --- mingw-w64-crt/testcases/t_aligned_alloc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/mingw-w64-crt/testcases/t_aligned_alloc.c b/mingw-w64-crt/testcases/t_aligned_alloc.c index 875d563611d9..f9f1ebf1de11 100644 --- a/mingw-w64-c

[Mingw-w64-public] [PATCH] crt: Make i386 _NLG_Dispatch2 and _NLG_Return symbols compatible with msvc

2025-07-06 Thread Pali Rohár
These two symbols _NLG_Dispatch2 and _NLG_Return are available only in 32-bit x86 crt dll libraries, starting in msvcr80.dll. msvc import library msvcrt.lib from the beginning since Visual C++ 2005 contains these symbols without stdcall decoration. So for compatibility with msvc, do not decorate

Re: [Mingw-w64-public] New implementation for C95 conversion functions

2025-07-06 Thread LIU Hao
在 2025-6-30 20:13, Kirill Makurin 写道: This patch series provides new implementation for C95 conversion functions: - btowc - mbrlen - mbrtowc - mbsrtowc - wcrtomb - wcsrtombs - wctob This patch series also adds tests for these functions. All tests except for btowc and wctob should be skipped wh