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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Bugzilla from bugzilla-daemon@freedesktop.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
        ReportedBy: j.schauer@...
         QAContact: xcb@...


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.
_______________________________________________
Xcb mailing list
Xcb@...
http://lists.freedesktop.org/mailman/listinfo/xcb

[Bug 24507] Wrong order of padding bytes in ConfigureWindow

by Bugzilla from bugzilla-daemon@freedesktop.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Eamon Walsh <ewalsh@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Eamon Walsh <ewalsh@...>  2009-10-21 15:46:48 PST ---
Fixed in xcb/proto master as of now.

Either recompile xpyb using xcb/proto from git, or wait until I do a release
(should be soon).


--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Xcb mailing list
Xcb@...
http://lists.freedesktop.org/mailman/listinfo/xcb