mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 06:06:27 +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:
parent
27e6b3ca2f
commit
3da774ad40
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue