[Xcb] [Bug 68387] xinput2 XIQueryDevice reply not read correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 20 01:23:47 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68387

--- Comment #9 from Daniel Martin <consume.noise at gmail.com> ---
After filtering out _sizeof()s for events, requests and replies the list of
affected locations shrinks to 50. These are the structs for the remaining
_sizeof()s:
    Input - AddMaster
    Input - ButtonClass
    Input - DeviceClass
    Input - DeviceCtl
    Input - DeviceName
    Input - DeviceResolutionCtl
    Input - DeviceResolutionState
    Input - DeviceState
    Input - EventMask
    Input - FeedbackCtl
    Input - FeedbackState
    Input - HierarchyChange
    Input - InputState
    Input - KeyClass
    Input - StringFeedbackCtl
    Input - StringFeedbackState
    Input - ValuatorInfo
    Input - ValuatorState
    Input - XIDeviceInfo
    RandR - RefreshRates
    Record - ClientInfo
    Render - PICTDEPTH
    Render - PICTSCREEN
    Res - ClientIdValue
    Res - ResourceSizeValue
    SELinux - ListItem
    Sync - SYSTEMCOUNTER
    Xv - AdaptorInfo
    Xv - AttributeInfo
    Xv - EncodingInfo
    Xv - Image
    xkb - CountedString16
    xkb - DeviceLedInfo
    xkb - KeySymMap
    xkb - KeyType
    xkb - Listing
    xkb - Outline
    xkb - Overlay
    xkb - OverlayRow
    xkb - Row
    xkb - SetKeyType
    xkb - Shape
    xproto - DEPTH
    xproto - HOST
    xproto - SCREEN
    xproto - STR
    xproto - Setup
    xproto - SetupAuthenticate
    xproto - SetupFailed
    xproto - SetupRequest

I've thought about filtering even more, i.e. only the structs that are used in
a list. But, the effort didn't seemed worth it.

So, if you find a list using such a struct and try to iterate over it, then
it's very likely that you hit this bug too.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20131120/c60afcbc/attachment.html>


More information about the Xcb mailing list