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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 18 20:49:49 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23403

           Summary: compiler padding causes reply parsing to use incorrect
                    offsets
           Product: XCB
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Library
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: m.aaron.young at gmail.com
         QAContact: xcb at lists.freedesktop.org


This is known to affect xcb_sync_systemcounter_t, which should have a size of
14 but due to padding has a size of 16.  This causes
xcb_sync_systemcounter_name to miss the first two bytes of the name, and each
call to xcb_sync_systemcounter_next gets off by two bytes as well.

It's possible that other structures are also affected by this same issue.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list