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

@@ -528,7 +528,7 @@ BOOL WriteContextData(CONTEXT_OBJECT* ContextObject, PBYTE szBuffer, size_t ulOr
} else {
memcpy(buf, szBuffer, ulOriginalLength);
}
Mprintf("[COMMAND] Send: " + CString(buf) + "\r\n");
Mprintf("[COMMAND] Send: %s\r\n", buf);
}
try {
do {