mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:15:43 +00:00
[TASKMGR]
- Fix potential stack buffer overflows. CID 1322094, 1322095 svn path=/trunk/; revision=69627
This commit is contained in:
parent
e190198542
commit
2921409167
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue