From 82379e83e3712cb70ef56d591df4b4fbc744d9b9 Mon Sep 17 00:00:00 2001 From: Vitaliy Margolen Date: Mon, 19 Oct 2009 23:23:13 -0600 Subject: [PATCH] ntoskrnl: Initialize structure size. --- dlls/ntoskrnl.exe/ntoskrnl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index d95dc3138d6..93d72a644a2 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;