[libvirt] PATCH: Fix crash after deleting storage vol fails

Daniel Veillard veillard at redhat.com
Fri Mar 6 13:16:53 UTC 2009


On Fri, Mar 06, 2009 at 12:58:07PM +0000, Daniel P. Berrange wrote:
> After a little debugging on IRC we discovered a problem in the deletion
> of storage volumes. We were mistakenly calling virStorageVolFree(vol)
> even if the delete call  failed. So the pool got left with a NULL storage
> volume, and later use of that pool could crash on this.

  ACK, a kind of bug that unfortunatley are hard to find unless
someone hits the problem and reports it, thanks to him !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list