[libvirt] [PATCH 0/3] fix segfault when trying to discover netfs pool sources

Peter Krempa pkrempa at redhat.com
Mon Jul 9 13:21:39 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=837470

There's a regression in the netfs detection code that causes a double-free
error when the detection fails. After fixing the regression another one
appeared connected with adding multiple pool source hosts. This series fixes
both problems.

Peter Krempa (3):
  storage_conf: Break long line and polish coding style
  storage_backend_fs: Don't free a part of a structure on error
  storage_backend_fs: Allocate entry for host before accessing it

 src/conf/storage_conf.c          |   12 ++++++------
 src/storage/storage_backend_fs.c |   11 ++++-------
 2 files changed, 10 insertions(+), 13 deletions(-)

-- 
1.7.8.6




More information about the libvir-list mailing list