[Xcb] xlibs --with-xcb unbroken

Bernardo Innocenti bernie at develer.com
Sat Feb 12 01:21:42 PST 2005


Bernardo Innocenti wrote:
> 
> Bernardo Innocenti wrote:
> 
>>Josh Triplett wrote:
>>
>>
>>>I applied the fix to xlibs CVS, so --with-xcb now works again.
>>
>>
>>I still can't run xclock from the xorg tree with an XCB-enabled
>>libX11.  xterm works fine.
>>
>>Looks like a problem in getting the font list from the server:
> 
> More specifically, X response for the query of "-misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1"
> appears to contain something before the usual reply that XCB does not like
> (see the last read()).

Newsflash: looks like a buffer overrun bug to me.
In _xcb_in_read_packet(), _xcb_list_find() returns an
XCBReplyData struct containing garbage from some
previous read() call:

$39 = {
  cond = {
    __c_lock = {
      __status = 134628032,
      __spinlock = 1768303993
    },
    __c_waiting = 0x2d646578,
    __padding = "medium-r-normal--16-120-100-",
    __align = 3474577016499482673
  },
  pending = 1,
  error = 0,
  request = 38,
  data = 0x0
}


-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/



More information about the xcb mailing list