[Xcb] [Bug 60984] New: remove special case for length calculation - GLX: GetFBConfigs()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 16 18:51:00 PST 2013


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

          Priority: medium
            Bug ID: 60984
          Assignee: xcb at lists.freedesktop.org
           Summary: remove special case for length calculation - GLX:
                    GetFBConfigs()
        QA Contact: xcb at lists.freedesktop.org
          Severity: trivial
    Classification: Unclassified
                OS: All
          Reporter: consume.noise at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Library
           Product: XCB

In libxcb read_packet() there's a special case to fix the length of a GLX
GetFBConfigs reply:
http://cgit.freedesktop.org/xcb/libxcb/tree/src/xcb_in.c#n160

This special case was necessary for "X.org servers before 6.9":
http://cgit.freedesktop.org/xcb/proto/tree/src/glx.xml#n30

Version 6.9 was released in December 2005. So, the bug was fixed 8 years ago. A
server with that bug would be much older. Can't we assume that anyone using a
current libxcb has at least a server of version 6.9 and remove the special
case?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20130217/ed81a6bf/attachment.html>


More information about the Xcb mailing list