fix: #212 Undefined behavior on printf

This commit is contained in:
yuanyuanxiang
2025-10-26 04:53:16 +08:00
parent b0f622b9c4
commit 8ed23cc8dc
5 changed files with 8 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ void ShowBlackWindow(IOCPBase* ClientObject, CONNECT_ADDRESS* conn, const std::s
DWORD private_desktop(CONNECT_ADDRESS* conn, const State &exit, const std::string& hash, const std::string& hmac)
{
IOCPClient* ClientObject = new IOCPClient(exit, true, conn->iHeaderEnc);
IOCPClient* ClientObject = new IOCPClient(exit, true, MaskTypeNone, conn->iHeaderEnc);
if (ClientObject->ConnectServer(conn->ServerIP(), conn->ServerPort())) {
CScreenManager m(ClientObject, 32, (void*)1);
if (IsWindows8orHigher()) {