[TASKMGR]

- Fix potential stack buffer overflows. CID 1322094, 1322095

svn path=/trunk/; revision=69627
This commit is contained in:
Thomas Faber 2015-10-20 08:30:14 +00:00
parent e190198542
commit 2921409167

View file

@ -371,11 +371,11 @@ DWORD WINAPI PerformancePageRefreshThread(void *lpParameter)
StrFormatByteSizeW(CommitChargeTotal * 1024, StrFormatByteSizeW(CommitChargeTotal * 1024,
szChargeTotalFormat, szChargeTotalFormat,
sizeof(szChargeTotalFormat)); _countof(szChargeTotalFormat));
StrFormatByteSizeW(CommitChargeLimit * 1024, StrFormatByteSizeW(CommitChargeLimit * 1024,
szChargeLimitFormat, szChargeLimitFormat,
sizeof(szChargeLimitFormat)); _countof(szChargeLimitFormat));
if (!bInMenuLoop) if (!bInMenuLoop)
{ {