在 2020/2/18 19:51, Tim Kosse via Mingw-w64-public 写道:
> Hi,
>
> the attached patch fixes a stack overflow in __mingw_wcstof and
> __mingw_wcstold.
>
> I've also attached a small reproducer for the bug.
>
> Interestingly the bugged functions are only called if using C++ and if
> windows.h is incl
在 2020/2/21 2:27, Pali Rohár 写道:
> Hello! Based on raymod2 suggestion on IRC, I prepared full patch and
> tested it that snprintf() and vsnprintf() works correctly.
>
> Patch is attached in email as jon_y on IRC suggested. I fixed directly
> __ms_snprintf() and __ms_vsnprintf() wrappers (around ms