Re: [systemd-devel] [PATCH V2] core/device.c: fix possible segfault

2013-04-17 Thread Harald Hoyer
Am 12.04.2013 15:05, schrieb har...@redhat.com: > From: Harald Hoyer > > https://bugs.freedesktop.org/show_bug.cgi?id=63189 > > better fail than segfault > > systemd[1]: Failed to load device unit: Invalid argument > systemd[1]: Failed to process udev device event: Invalid argument > --- > > V

[systemd-devel] [PATCH V2] core/device.c: fix possible segfault

2013-04-12 Thread harald
From: Harald Hoyer https://bugs.freedesktop.org/show_bug.cgi?id=63189 better fail than segfault systemd[1]: Failed to load device unit: Invalid argument systemd[1]: Failed to process udev device event: Invalid argument --- V2: Now checking for (r < 0) rather than (r). src/core/device.c | 5