From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.1) Gecko/20020827 Description of problem: Kudzu's ddc checking uses values from the monitor's entry in MonitorsDB if the horizontal and vertical ranges for the monitor are bogus. Unfortunately, if the MonitorsDB doesn't have an entry for the monitor, kudzu segfaults. This is because it tries to access a null pointer. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Run kudzu -b DDC on a monitor with bogus horz/vert ranges such as many LCDs. Due this without that monitor having an entry in MonitorsDB. 2. 3. Actual Results: Seg fault. Expected Results: No seg fault. :-) Additional info: Attached is a patch to fix this problem. It basically checks not only that the ranges are bogus, but also that we have in fact found a monitor entry in the MonitorsDB to use.
Created attachment 78284 [details] Proposed fix for this bug.
duplicate of 70190 and 74424
Added, will be in 0.99.89-1.