[PATCH] dix: die if we can't activate or init the VCP/VCK.

Daniel Stone daniel at fooishbar.org
Tue Feb 3 16:55:18 PST 2009


On Wed, Feb 04, 2009 at 10:51:21AM +1000, Peter Hutterer wrote:
> From 29b2848cecf1ccde8fba7d7b1bfafa03873753d8 Mon Sep 17 00:00:00 2001
> From: Peter Hutterer <peter.hutterer at who-t.net>
> Date: Wed, 4 Feb 2009 10:11:13 +1000
> Subject: [PATCH] dix: die if we can't activate or init the VCP/VCK.
> 
> If we have a busted xkb setup, the XKB initialization on the core devices
> fails and leaves us with dev->key->xkbInfo == NULL. This in turn causes
> segfaults lateron.
> 
> Return BadValue when the XKB configuration for a master device failed, and if
> that happens for the VCP/VCK, die semi-gracefully.
> The VCP init can only fail on OOM.
> 
> Reported by Aaron Plattner.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Acked-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20090204/0da1bbca/attachment.pgp>


More information about the xorg mailing list