[Openchrome-devel] [Bug 93675] Segfault in xf86DestroyI2CDevRec

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 9 06:51:25 CET 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93675

--- Comment #19 from Kyle Guinn <elyk03 at gmail.com> ---
(In reply to Kevin Brace from comment #16)
> Created attachment 121584 [details] [review]
> Fixing DVI detection code crash
> 
> The portion of the code responsible for detecting VT1632A external TMDS
> transmitter for DVI was causing a crash if VT1632A was not detected on
> I2C buses. This was happening due to xf86DestroyI2CDevRec being called
> prior to the call to xf86I2CDevInit if VT1632A was not detected. Now the
> code will probe I2C buses using xf86I2CProbeAddress to look for VT1632A,
> and if VT1632A is not detected, it will stop trying to detect VT1632A
> via I2C buses.
> 
> Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

Looks good to me.  I tried it out here and it works.

Signed-off-by: Kyle Guinn <elyk03 at gmail.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/openchrome-devel/attachments/20160209/dcd02f22/attachment.html>


More information about the Openchrome-devel mailing list