--- xorg-x11-6.8.2.dfsg.1/xc/programs/Xserver/hw/xfree86/ddc/xf86DDC.c.orig 2005-11-08 18:53:06.000000000 +0000 +++ xorg-x11-6.8.2.dfsg.1/xc/programs/Xserver/hw/xfree86/ddc/xf86DDC.c 2005-11-08 18:55:11.000000000 +0000 @@ -212,11 +212,15 @@ #ifdef DEBUG if (!tmp) ErrorF("Cannot interpret EDID block\n"); - ErrorF("Sections to follow: %i\n",tmp->no_sections); + else + ErrorF("Sections to follow: %i\n",tmp->no_sections); #endif - VDIF_Block = - VDIFRead(scrnIndex, pBus, EDID1_LEN * (tmp->no_sections + 1)); - tmp->vdif = xf86InterpretVdif(VDIF_Block); + if (tmp) + { + VDIF_Block = + VDIFRead(scrnIndex, pBus, EDID1_LEN * (tmp->no_sections + 1)); + tmp->vdif = xf86InterpretVdif(VDIF_Block); + } return tmp; }