[libvirt] [PATCH 0/2] Fix segfault when destroying domain with console open

Peter Krempa pkrempa at redhat.com
Fri Jul 27 13:44:34 UTC 2012


In some cases when a newly created domain was destroyed the daemon crashed as
it freed the console access data structure sooner than the stream could be
freed so that the stream actually called the closing callback taht referenced
freed data.

Peter Krempa (2):
  conf: Remove dead code from virConsoleOpen()
  conf: Remove callback from stream when freeing entries in console
    hash

 src/conf/virconsole.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

-- 
1.7.8.6




More information about the libvir-list mailing list