[Wayland-bugs] [Bug 735389] New: client crashes if it gets an invalid keymap from the compositor
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Aug 25 07:38:19 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=735389
gtk+ | Backend: Wayland | unspecified
Summary: client crashes if it gets an invalid keymap from the
compositor
Classification: Platform
Product: gtk+
Version: unspecified
OS/Version: Mac OS
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: Backend: Wayland
AssignedTo: gtk-bugs at gtk.org
ReportedBy: carlosg at gnome.org
QAContact: gtk-bugs at gtk.org
CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
GNOME version: ---
If the client is given a keymap string which produces compile errors,
xkb_keymap_new_from_string() returns NULL and the xkb_state creation crashes
when given a NULL keymap.
I'm attaching a patch that, in these situations, issue a warning and keep the
previous keymap/state around, since having instances of those is indispensable
for keyboard events, even if not fully correct.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Wayland-bugs
mailing list