<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - xinput2 XIQueryDevice reply not read correctly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68387#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - xinput2 XIQueryDevice reply not read correctly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68387">bug 68387</a>
from <span class="vcard"><a class="email" href="mailto:consume.noise@gmail.com" title="Daniel Martin <consume.noise@gmail.com>"> <span class="fn">Daniel Martin</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>