mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Verify VBE is found and not anything else, is a safe check.
svn path=/trunk/; revision=19499
This commit is contained in:
@@ -241,6 +241,13 @@ VBEInitialize(PVOID HwDeviceExtension)
|
||||
&VBEDeviceExtension->VbeInfo,
|
||||
sizeof(VBEDeviceExtension->VbeInfo));
|
||||
|
||||
/* Verify VBE is found and not anýthing else */
|
||||
if (strncmp(VBEDeviceExtension->VbeInfo.Signature,"VESA",4) != 0)
|
||||
{
|
||||
DPRINT("No VBE BIOS present\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Dectect Bad VBE BIOS some Graphice card report 0x200 when they are VBE 1.2 */
|
||||
if (VBEDeviceExtension->VbeInfo.OemVendorNamePtr == 0 && VBEDeviceExtension->VbeInfo.Version == 0x200)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user