[Xcb] [Bug 24507] New: Wrong order of padding bytes in ConfigureWindow

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 13 11:48:35 PDT 2009


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

           Summary: Wrong order of padding bytes in ConfigureWindow
           Product: XCB
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Library
        AssignedTo: ewalsh at tycho.nsa.gov
        ReportedBy: j.schauer at email.de
         QAContact: xcb at lists.freedesktop.org


Calling ConfigureWindow yields BadValue Errors as the code generation wrongly
places the padding bytes after the value_list.
Switching the following lines in xproto.py fixes the error:

        buf.write(str(buffer(array('I', value_list))))
        buf.write(pack('2x', ))

refer also to:
http://lists.freedesktop.org/archives/xcb/2009-September/005034.html
http://lists.freedesktop.org/archives/xcb/2009-October/005120.html

it was apparently introduced by 57934caa3fb207320c33312646d8e98290950f51


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


More information about the Xcb mailing list