[PATCH xserver 0/2] Check initial screen resources creations in Xephyr

Olivier Fourdan ofourdan at redhat.com
Tue Mar 14 14:22:30 UTC 2017


On startup, Xephyr does not check for the successful creation of its
screen pixmap, and would crash if it fails.

The following patches aim at exiting cleanly instead of segfaulting
if the screen pixmap creation fails, with glamor.

This was reported in downstream bug https://bugzilla.redhat.com/1431633

Cheers,
Olivier

Olivier Fourdan (2):
  glamor: Check for NULL pixmap in glamor_get_pixmap_texture()
  Xephyr: Check screen resources creation success

 glamor/glamor.c         | 3 +++
 hw/kdrive/ephyr/ephyr.c | 6 ++++--
 hw/kdrive/ephyr/hostx.c | 5 +++++
 3 files changed, 12 insertions(+), 2 deletions(-)

-- 
2.9.3



More information about the xorg-devel mailing list