Vitaliy Margolen : ntoskrnl: Initialize structure size.
Alexandre Julliard
julliard at winehq.org
Tue Oct 20 10:33:36 CDT 2009
Module: wine
Branch: master
Commit: 82379e83e3712cb70ef56d591df4b4fbc744d9b9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=82379e83e3712cb70ef56d591df4b4fbc744d9b9
Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date: Mon Oct 19 23:23:13 2009 -0600
ntoskrnl: Initialize structure size.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index d95dc31..93d72a6 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1237,6 +1237,7 @@ BOOLEAN WINAPI PsGetVersion(ULONG *major, ULONG *minor, ULONG *build, UNICODE_ST
{
RTL_OSVERSIONINFOEXW info;
+ info.dwOSVersionInfoSize = sizeof(info);
RtlGetVersion( &info );
if (major) *major = info.dwMajorVersion;
if (minor) *minor = info.dwMinorVersion;
More information about the wine-cvs
mailing list