xserver/hw/xfree86/drivers
Daniel Martin 6804875662 modesetting: Reset output_id if drmModeGetConnector failed
If drmModeGetConnector() fails in drmmode_output_detect(), we have to
reset the output_id to -1 too.

Yet another spot leading to a potential NULL dereference when handling
the mode_output member as output_id was != -1. Though, this case should
be very hard to hit.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2017-11-29 14:50:44 -05:00
..
modesetting modesetting: Reset output_id if drmModeGetConnector failed 2017-11-29 14:50:44 -05:00
Makefile.am modesetting: Connect the driver to the build. 2014-09-16 16:28:42 -07:00