Thomas Faller : kernel32/tests: Fix uninitialized memory of a test case.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Sep 8 08:15:46 CDT 2015
Module: wine
Branch: master
Commit: 98aa8528d53365f497b9b6ef9b471aec420b1177
URL: http://source.winehq.org/git/wine.git/?a=commit;h=98aa8528d53365f497b9b6ef9b471aec420b1177
Author: Thomas Faller <tfaller1 at gmx.de>
Date: Mon Sep 7 15:09:35 2015 +0200
kernel32/tests: Fix uninitialized memory of a test case.
---
dlls/kernel32/tests/time.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/time.c b/dlls/kernel32/tests/time.c
index 838d79c..c4de194 100644
--- a/dlls/kernel32/tests/time.c
+++ b/dlls/kernel32/tests/time.c
@@ -851,7 +851,8 @@ static void test_GetSystemTimes(void)
sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * sbi.NumberOfProcessors);
ok( !NtQuerySystemInformation( SystemProcessorPerformanceInformation, sppi,
- sizeof(*sppi), &ReturnLength),
+ sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * sbi.NumberOfProcessors,
+ &ReturnLength),
"NtQuerySystemInformation failed\n" );
for (i = 0; i < sbi.NumberOfProcessors; i++)
More information about the wine-cvs
mailing list