xserver/hw
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
..
dmx glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
kdrive glamor: Drop the non-VAO rendering path 2017-11-15 09:53:50 -05:00
vfb test: Add basic SYNC tests. 2017-09-20 13:19:27 -04:00
xfree86 modesetting: Reset output_id if drmModeGetConnector failed 2017-11-29 14:50:44 -05:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
xwayland xwayland: Stop printing the EGL version 2017-11-07 15:57:54 -05:00
xwin Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00