kernel32-GetSystemTimes: Fix invalid value passed to NtQuerySystemInformation.

This commit is contained in:
Sebastian Lackner
2014-11-06 03:13:28 +01:00
parent 677a246d22
commit 14ae97f5a2
4 changed files with 5 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ index 21ac120..b877adc 100644
+ return FALSE;
+ }
+
+ status = NtQuerySystemInformation( SystemProcessorPerformanceInformation, sppi, sizeof(*sppi),
+ status = NtQuerySystemInformation( SystemProcessorPerformanceInformation, sppi, sizeof(*sppi) * sbi.NumberOfProcessors,
+ &ret_size );
+ if (status != STATUS_SUCCESS)
+ {

View File

@@ -1,4 +1,4 @@
Author: Louis Lenders / Erich E. Hoover
Subject: Implement GetSystemTimes.
Revision: 2
Revision: 3
Fixes: [19813] Support for GetSystemTimes