chiark / gitweb /
[PATCH] bug in udev-remove.c
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Thu, 18 Dec 2003 06:33:29 +0000 (22:33 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:09 +0000 (21:13 -0700)
commita81805b9af899087f3d8367721ac0a51460f692e
tree31ad2348018b8c9bd796c6f85545459f700f9fdb
parentff3633bf9d192c46c457cc3819dc27ff2807ed0d
[PATCH] bug in udev-remove.c

Uups, we have a bug in udev-remove.c.

udev segfaults with NULL-pointer, if the device is not in the database:

  ./test.block: line 29:  4844 Segmentation fault      $BIN block
  Dec 17 22:47:42 pim udev[4882]: udev_remove_device: '/block/sdy' not found in database, falling back on default name
  Dec 17 22:47:42 pim udev[4882]: udev_remove_device: name is '(null)'
udev-remove.c