File xf86-video-mga-mergedfb-sig11.diff of Package xorg-x11-driver-video

--- src/mga_bios.c.orig	2009-04-16 07:13:01.000000000 +0200
+++ src/mga_bios.c	2009-04-16 07:15:09.000000000 +0200
@@ -326,8 +326,9 @@ Bool mga_read_and_process_bios( ScrnInfo
      * isn't found or can't be read we'll still have some reasonable values
      * to use.
      */
-    (void) memcpy(& pMga->bios, & pMga->chip_attribs->default_bios_values,
-		  sizeof(struct mga_bios_values));
+    if (pMga->chip_attribs)
+        (void) memcpy(& pMga->bios, & pMga->chip_attribs->default_bios_values,
+                      sizeof(struct mga_bios_values));
 
 
     /* If the BIOS address was probed, it was found from the PCI config space
openSUSE Build Service is sponsored by