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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]
     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.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to