Fix xvfb crash on client disconnect (rhbz#1113128)
This commit is contained in:
parent
8341be4f30
commit
9d74bb16d6
@ -0,0 +1,35 @@
|
|||||||
|
From 7103563676f5970e14da38923a15641fc1877328 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Hans de Goede <hdegoede@redhat.com>
|
||||||
|
Date: Wed, 2 Jul 2014 17:19:30 +0200
|
||||||
|
Subject: [PATCH] fb: Fix xvfb crash in fbCloseScreen on client disconnect
|
||||||
|
|
||||||
|
Fix xvfb crash on client disconnect:
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1113128
|
||||||
|
caused by:
|
||||||
|
http://patchwork.freedesktop.org/patch/24757/
|
||||||
|
|
||||||
|
The discussion there has some ideas for a better / cleaner fix, but for now
|
||||||
|
lets gets this fixed before the 1.16 release with this simple fix.
|
||||||
|
|
||||||
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
||||||
|
---
|
||||||
|
fb/fbscreen.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/fb/fbscreen.c b/fb/fbscreen.c
|
||||||
|
index 1f91089..0d4d87f 100644
|
||||||
|
--- a/fb/fbscreen.c
|
||||||
|
+++ b/fb/fbscreen.c
|
||||||
|
@@ -37,7 +37,8 @@ fbCloseScreen(ScreenPtr pScreen)
|
||||||
|
free(depths[d].vids);
|
||||||
|
free(depths);
|
||||||
|
free(pScreen->visuals);
|
||||||
|
- FreePixmap((PixmapPtr)pScreen->devPrivate);
|
||||||
|
+ if (pScreen->devPrivate)
|
||||||
|
+ FreePixmap((PixmapPtr)pScreen->devPrivate);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.0.0
|
||||||
|
|
@ -42,7 +42,7 @@
|
|||||||
Summary: X.Org X11 X server
|
Summary: X.Org X11 X server
|
||||||
Name: xorg-x11-server
|
Name: xorg-x11-server
|
||||||
Version: 1.15.99.903
|
Version: 1.15.99.903
|
||||||
Release: 2%{?gitdate:.%{gitdate}}%{dist}
|
Release: 3%{?gitdate:.%{gitdate}}%{dist}
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -74,6 +74,9 @@ Source31: xserver-sdk-abi-requires.git
|
|||||||
# maintainer convenience script
|
# maintainer convenience script
|
||||||
Source40: driver-abi-rebuild.sh
|
Source40: driver-abi-rebuild.sh
|
||||||
|
|
||||||
|
# Submitted upstream
|
||||||
|
Patch0001: 0001-fb-Fix-xvfb-crash-in-fbCloseScreen-on-client-disconn.patch
|
||||||
|
|
||||||
# Trivial things to never merge upstream ever:
|
# Trivial things to never merge upstream ever:
|
||||||
# This really could be done prettier.
|
# This really could be done prettier.
|
||||||
Patch5002: xserver-1.4.99-ssh-isnt-local.patch
|
Patch5002: xserver-1.4.99-ssh-isnt-local.patch
|
||||||
@ -615,6 +618,9 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 2 2014 Hans de Goede <hdegoede@redhat.com> - 1.15.99.903-3
|
||||||
|
- Fix xvfb crash on client disconnect (rhbz#1113128)
|
||||||
|
|
||||||
* Thu Jun 19 2014 Dennis Gilmore <dennis@ausil.us> - 1.15.99.903-2
|
* Thu Jun 19 2014 Dennis Gilmore <dennis@ausil.us> - 1.15.99.903-2
|
||||||
- add support for non pci platform devices
|
- add support for non pci platform devices
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user