On Thu, Mar 30, 2023 at 08:29:45AM +, Qiang Ren via Gcc-bugs wrote:
> I found a bug in the result of std::vsnprintf(), here is the test app that
> can reproduce it.
> I tested with g++ 11.2 and 12.2 and both have the bug, and this issue does
> not happen with visual c++.
gcc-bugs is not the
Hi,
I found a bug in the result of std::vsnprintf(), here is the test app that can
reproduce it.
I tested with g++ 11.2 and 12.2 and both have the bug, and this issue does not
happen with visual c++.
#include
#include
#include
#include
int Sprintf(std::string& s, const char* pszFormat, ..