[PATCH] fix segmentation fault in xen_add()
Danny Kukawka
danny.kukawka at web.de
Wed Nov 29 03:35:57 PST 2006
Hi,
this patch fixes a potential segmentation fault in xen_add() because of use a
NULL within strcmp() if the file devtype is missing in sysfs for a xen
device.
Danny
device.c | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-segfault_in_xenCode.diff
Type: text/x-diff
Size: 1927 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20061129/3dce2219/hal-fix-segfault_in_xenCode-0001.bin
More information about the hal
mailing list