Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
usUtils.cpp - Crash can occur if FormatMessage(...) fails #33
In us::GetLastErrorStr(), the buffer 'lpMsgBuf' returned from FormatMessage(...) is used without checking the return code of FormatMessage(...).
This error was found using VS 2013 code analysis.