Project

General

Profile

Bug #58 ยป 0015-fc_vsnprintf-Correct-return-value-on-Windows.patch

Marko Lindqvist, 12/14/2023 02:32 AM

View differences:

utility/support.c
vsnprintf_buf[VSNP_BUF_SIZE - 1] = '\0';
#ifdef HAVE_VSNPRINTF
vsnprintf(vsnprintf_buf, n, format, ap);
vsnprintf(vsnprintf_buf, VSNP_BUF_SIZE, format, ap);
#else
vsprintf(vsnprintf_buf, format, ap);
#endif /* HAVE_VSNPRINTF */
    (1-1/1)