Files
xen/tools
Keir Fraser aec29abd5b libxenlight: fix segfault when domid_to_name returns NULL
The function libxl_domid_to_name() can return NULL if the path
/local/domain/%d/name does not exist.  This causes a segfault if the
NULL name is later passed as a value to libxl_xs_writev().  I'm
hitting this making a call to libxl_device_vfb_add() from my graphical
switcher application.

This patch modifies xs_writev() and libxl_xs_writev() to skip NULL
values.

Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2010-03-15 13:22:06 +00:00
..
2010-02-04 19:40:19 +00:00
2009-07-22 14:37:30 +01:00
2009-04-09 17:22:44 +01:00