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

1
debian/changelog vendored
View File

@ -1,4 +1,5 @@
wine-compholio (1.7.31) UNRELEASED; urgency=low
* Update kernel32-GetSystemTimes patches.
* Added possibility to temporarily disable patches to patch system.
* Added patch to allow selecting specific audio device for PulseAudio backend.
* Added patch with stub for NtSetLdtEntries/ZwSetLdtEntries.

View File

@ -814,7 +814,7 @@ ntdll-FileDispositionInformation.ok:
# Patchset ntdll-Fix_Alignment
# |
# | Included patches:
# | * Move NtProtectVirtualMemory and NtCreateSection to separate pages in ntdll on x86. [rev 2, by Michael Müller]
# | * Move NtProtectVirtualMemory and NtCreateSection to separate pages in ntdll on x86. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# | * [#33162] Ensure NtProtectVirtualMemory and NtCreateSection are on separate pages
@ -826,7 +826,7 @@ ntdll-FileDispositionInformation.ok:
ntdll-Fix_Alignment.ok:
$(call APPLY_FILE,ntdll-Fix_Alignment/0001-ntdll-Move-NtProtectVirtualMemory-and-NtCreateSectio.patch)
@( \
echo '+ { "ntdll-Fix_Alignment", "Michael Müller", "Move NtProtectVirtualMemory and NtCreateSection to separate pages in ntdll on x86. [rev 2]" },'; \
echo '+ { "ntdll-Fix_Alignment", "Michael Müller", "Move NtProtectVirtualMemory and NtCreateSection to separate pages in ntdll on x86." },'; \
) > ntdll-Fix_Alignment.ok
# Patchset ntdll-Fix_Free

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