CMake
▻https://hownot2code.com/2019/08/19/cmake
Buffer overflow V531 It is odd that a sizeof() operator is multiplied by sizeof(). cmGlobalVisualStudioGenerator.cxx 558 bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile, const std::string& regKeyBase, std::string& nextAvailableSubKeyName) .... if (ERROR_SUCCESS == result) wchar_t subkeyname[256]; // <= DWORD cch_subkeyname = sizeof(subkeyname) sizeof(subkeyname[0]); // <= wchar_t keyclass[256]; DWORD cch_keyclass = sizeof(keyclass) sizeof(keyclass[0]); FILETIME lastWriteTime; lastWriteTime.dwHighDateTime … Continue reading CMake
►https://1.gravatar.com/avatar/a7fa0bb4ebff5650d2c83cb2596ad2aa?s=96&d=identicon&r=G