https://bugzilla.novell.com/show_bug.cgi?id=264720 ------- Comment #35 from burnus@gmx.de 2007-05-10 02:41 MST -------
RADEONDPMSSetOff (pScrn=0x7ffb30, pPort=0x0) at radeon_display.c:2237 2237 MonType = pPort->MonType; #0 RADEONDPMSSetOff (pScrn=0x7ffb30, pPort=0x0) at radeon_display.c:2237
Not that this is necessarily the cause for the problem, but as long as RADEONConnector *RADEONGetCrtcConnector(ScrnInfoPtr pScrn, int crtc_num) can return NULL static void RADEONDPMSSetOff(ScrnInfoPtr pScrn, RADEONConnector *pPort) should not use it unguarded. (Both: xf86-video-ati-6.6.191/src/radeon_display.c) How about as interim measure: - MonType = pPort->MonType; - TmdsType = pPort->TMDSType; - DacType = pPort->DACType; + MonType = (pPort != NULL) ? pPort->MonType : MT_UNKNOWN; + TmdsType = (pPort != NULL) ? pPort->TMDSType : TMDS_UNKNOWN; + DacType = (pPort != NULL) ? pPort->DACType : DAC_UNKNOWN; in RADEONDPMSSetOff ? I think good programming style mandates this even though one should find out why RADEONGetCrtcConnector returns NULL. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.