I locally tested the following patch (fix-null-input-device.patch)
with success :

--- a/src/libply-splash-core/ply-input-device.c
+++ b/src/libply-splash-core/ply-input-device.c
@@ -499,6 +499,9 @@ ply_input_device_get_capslock_state
(ply_input_device_t *input_device)
const char *
ply_input_device_get_keymap (ply_input_device_t *input_device)
{
+        if (input_device == NULL)
+                return NULL;
+
         xkb_layout_index_t num_indices =
xkb_keymap_num_layouts (input_device->keymap);
         ply_trace ("xkb layout has %d groups", num_indices);
         if (num_indices == 0) {

 __ 

Reply via email to