[Xcb] [Bug 43604] New: ChangeHosts incorrectly encodes address as a string, not a binary blob

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 7 15:08:13 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43604

             Bug #: 43604
           Summary: ChangeHosts incorrectly encodes address as a string,
                    not a binary blob
    Classification: Unclassified
           Product: XCB
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Protocol
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: robert.ancell at gmail.com
         QAContact: xcb at lists.freedesktop.org


ChangeHosts incorrectly encodes address as a string, not a binary blob.  It
should be the same as in the HOSTS structure:

--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -2295,7 +2298,7 @@ authorization from the authors.
     <field type="CARD8" name="family" enum="Family" />
     <pad bytes="1" />
     <field type="CARD16" name="address_len" />
-    <list type="char" name="address">
+    <list type="BYTE" name="address">
       <fieldref>address_len</fieldref>
     </list>
   </request>

-- 
Configure bugmail: https://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