Verify VBE is found and not anything else, is a safe check.
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
_____
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
--- trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-11-23
20:23:41 UTC (rev 19498)
+++ trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-11-23
20:37:38 UTC (rev 19499)
@@ -241,6 +241,13 @@
&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)
{