Re: [PATCH libinput] udev: fix a race condition if a device disappears before we get a handle

2015-02-18 Thread Hans de Goede
Hi, On 18-02-15 04:36, Peter Hutterer wrote: If the device disappears too quickly, the device is NULL, the sysname is NULL and that causes a segfault in strcmp. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Looks good / simple: Reviewed-by: Hans de Goede hdego...@redhat.com

[PATCH libinput] udev: fix a race condition if a device disappears before we get a handle

2015-02-17 Thread Peter Hutterer
If the device disappears too quickly, the device is NULL, the sysname is NULL and that causes a segfault in strcmp. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/udev-seat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/udev-seat.c b/src/udev-seat.c index