[Xcb] Non Null-Terminated String in Text Property Reply

Bastien Dejean nihilhill at gmail.com
Mon Sep 10 03:10:45 PDT 2012


Hi,

It seems that the `strings` attribute of a
`xcb_ewmh_get_utf8_strings_reply_t` is not null-terminated.

(*Proof*: `strlen(strings)` can be greater that `strings_len`.)

Maybe this could be mentioned in the documentation (I presume I should
have induced it from the existence of the `strings_len` attribute).

Ciao,
-- 
 b.d
(| |)
 ^ ^


More information about the Xcb mailing list