https://bugs.freedesktop.org/show_bug.cgi?id=74035
Kristian Høgsberg <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Kristian Høgsberg <[email protected]> --- commit 4d363cfcf6025db2277005845957e0b0e956ebd0 Author: Ander Conselvan de Oliveira <[email protected]> Date: Fri Jan 31 17:35:45 2014 +0200 input: Fix weston_seat_init_keyboard() error path The pointer seat->keyboard was set before some possible error returns. That pointer was left unchanged in case of failure, pointing to an uninitialized keyboard struct (that was also leaked). If a client sent a wl_seat::get_keyboard request, that would cause Weston to crash. Fix this by setting the seat->keyboard pointer only after the keymap initialization is done and there is no more possibilities for failure. Also plug the memory leaks on the error path. https://bugs.freedesktop.org/show_bug.cgi?id=74035 -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Wayland-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-bugs
