[Xcb] [Bug 23403] compiler padding causes reply parsing to use incorrect offsets

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 17 03:01:14 PST 2012


--- Comment #5 from Andrew Drake <adrake at adrake.org> ---
This also affects xcb_sync_systemcounter_next, leading to all sorts of
undesirable behavior if you try to actually iterate with it.

Given that there's already assumptions about compiler padding behavior as Josh
notes, would the project accept a patch that makes c_client.py add explicit
packing attributes to protocol structures? I could also add compile-time
asserts to prevent bugs of this form from cropping up again.

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/20121217/03cf0ff7/attachment.html>

More information about the Xcb mailing list