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 msvcrt's
_snprintf()/_vsnprintf() calls) whic
Hello! Year ago I sent this email about snprintf() problem in mingw-w64
but I have not received any response yet.
For one week I tried to contact mingw-w64 developers on IRC #mingw-w64,
but nobody replied, so now I do not know if there are some active people
in mingw-w64 project or not...
Just re
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 included before wchar.h
Regards,
Tim Kosse
From 283f3f991089af0c81327cebdd9