Patch OK? It was calling the wrong function.

diff --git a/mingw-w64-crt/secapi/vsprintf_s.c 
b/mingw-w64-crt/secapi/vsprintf_s.c
index 9e82bda..47486e3 100644
--- a/mingw-w64-crt/secapi/vsprintf_s.c
+++ b/mingw-w64-crt/secapi/vsprintf_s.c
@@ -19,7 +19,7 @@ _stub (char *_DstBuf, size_t _Size, const char *_Format, 
va_list _ArgList)
   if (f == _stub)
     {
        f = (int __cdecl (*)(char *, size_t, const char *, va_list))
-           GetProcAddress (__mingw_get_msvcrt_handle (), "vprintf_s");
+           GetProcAddress (__mingw_get_msvcrt_handle (), "vsprintf_s");
        if (!f)
          f = _int_vsprintf_s;
        __MINGW_IMP_SYMBOL(vsprintf_s) = f;

Attachment: 0xD4EBC740.asc
Description: application/pgp-keys


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to