Well, I found this
define sprintf libintl_sprintf
so its not sprintf being called but libintl_sprintf. I imagine that means the compile doesn't know to check the arguments.
That was it
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This line of code isn't generating any errors:
sprintf(szErrFmtStr, "Failed to connect to %s");
shouldn't this generate C4473 - not enough arguments passed for format string
Or am I missing something? The code compiles without warnings, but gives an access violation when executed. It doesn't look like the warning is disabled.
I'm compiling with VS2019, warning level set to 4.
Well, I found this
so its not sprintf being called but libintl_sprintf. I imagine that means the compile doesn't know to check the arguments.
That was it