Bug 6396

Summary: xkb error prevention, isn't
Product: xorg Reporter: Daniel Stone <daniel>
Component: Server/Input/CoreAssignee: Daniel Stone <daniel>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high Keywords: janitor
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Daniel Stone 2006-03-26 06:05:58 UTC
Most XKB functions look something like this:
int
XkbIndecipherable (DeviceIntPtr dev)
{
    XkbControlsPtr ctrls = dev->key->xkbInfo->desc->ctrls;

    ...
}

They need some serious idiot-proofing, as incomplete maps can really easily trip
all kinds of NULL pointer dereferences.
Comment 1 Daniel Stone 2006-03-26 06:07:41 UTC
a;lkjdsf
Comment 2 Daniel Stone 2007-02-27 01:31:14 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 chemtech 2013-03-15 14:45:17 UTC
Daniel Stone 
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 4 Daniel Stone 2018-06-04 13:45:35 UTC
This seems much less fragile now that XKB is mandatory and the first-order keymap.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.