[Xcb] [Bug 57022] xkb crash when iterating xcb_xkb_get_map() data.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 12 09:24:13 PST 2012


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

--- Comment #1 from Uli Schlachter <psychon at znc.in> ---
Who is the local XKB expert?

The call to xcb_xkb_get_map_map() seems to be guilty. This function just
returns a pointer past the given map_reply. Your sample code then casts this to
(xcb_xkb_get_map_map_t *) which is a struct that contains pointers. Obviously,
this cannot work.
However, I don't know how this is supposed to work (and the API docs suggest
that this is indeed used correctly, the doxygen comment for
xcb_xkb_get_map_map() says it returns a xcb_xkb_get_map_map_t *)

-- 
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/20121112/80e00525/attachment.html>


More information about the Xcb mailing list