<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - remove special case for length calculation - GLX: GetFBConfigs()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60984">60984</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>xcb@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>remove special case for length calculation - GLX: GetFBConfigs()
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>xcb@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>trivial
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>consume.noise@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>Library
</td>
</tr>
<tr>
<th>Product</th>
<td>XCB
</td>
</tr></table>
<p>
<div>
<pre>In libxcb read_packet() there's a special case to fix the length of a GLX
GetFBConfigs reply:
<a href="http://cgit.freedesktop.org/xcb/libxcb/tree/src/xcb_in.c#n160">http://cgit.freedesktop.org/xcb/libxcb/tree/src/xcb_in.c#n160</a>
This special case was necessary for "X.org servers before 6.9":
<a href="http://cgit.freedesktop.org/xcb/proto/tree/src/glx.xml#n30">http://cgit.freedesktop.org/xcb/proto/tree/src/glx.xml#n30</a>
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>