mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Don't pass an unitialized variable as buffer size to RegQueryValueEx. This fixes "(lib\rtl\heap.c:777) Could not allocate 78010000 bytes" problem during 2nd stage install.
svn path=/trunk/; revision=35875
This commit is contained in:
@@ -260,6 +260,7 @@ IsVmwSVGAEnabled(VOID)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
Size = sizeof(DWORD);
|
||||
if(RegQueryValueEx(hReg, L"Start", 0, &Type, (BYTE*)&Value, &Size) != ERROR_SUCCESS ||
|
||||
Type != REG_DWORD)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user