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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to