[Xcb] [Bug 19330] New: SetupRequest and QueryExtension are missing padding

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 29 17:06:31 PST 2008


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

           Summary: SetupRequest and QueryExtension are missing padding
           Product: XCB
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Protocol
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: aslatter at gmail.com


SetupRequest and QueryExtension are missing padding required by the protocol.

Here's a patch:


diff --git a/src/xproto.xml b/src/xproto.xml
index 89df956..519912d 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -156,6 +156,7 @@ authorization from the authors.
     <field type="CARD16" name="protocol_minor_version" />
     <field type="CARD16" name="authorization_protocol_name_len" />
     <field type="CARD16" name="authorization_protocol_data_len" />
+    <pad bytes="2" />
     <list type="char" name="authorization_protocol_name">
       <fieldref>authorization_protocol_name_len</fieldref>
     </list>
@@ -2006,6 +2007,7 @@ authorization from the authors.
   <request name="QueryExtension" opcode="98">
     <pad bytes="1" />
     <field type="CARD16" name="name_len" />
+    <pad bytes="2" />
     <list type="char" name="name">
       <fieldref>name_len</fieldref>
     </list>


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


More information about the Xcb mailing list