[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,
szChargeTotalFormat,
sizeof(szChargeTotalFormat));
_countof(szChargeTotalFormat));
StrFormatByteSizeW(CommitChargeLimit * 1024,
szChargeLimitFormat,
sizeof(szChargeLimitFormat));
_countof(szChargeLimitFormat));
if (!bInMenuLoop)
{