chiark / gitweb /
[PATCH] fix SEGV in libsysfs/dlist.c
authorhare@suse.de <hare@suse.de>
Thu, 1 Apr 2004 06:56:45 +0000 (22:56 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:13 +0000 (21:35 -0700)
commit0536819cca9468cf383807037dbaa5ad0d48b60f
treeac351b9d34efa2ee012499ceb2129d3e7b1ede13
parent0bcdc8498cdeaaef37444d38f39a19ff9557914d
[PATCH] fix SEGV in libsysfs/dlist.c

Hi all, Greg,

libsysfs/dlist.c: _dlist_mark_move()

is missing checks for empty lists and may (and indeed, does) crash when=20
called with empty dlists.
libsysfs/dlist.c