[libvirt] [PATCH] Fix segfault if storage pool has no type attribute (possibly others)

Daniel Veillard veillard at redhat.com
Fri Jun 19 17:06:08 UTC 2009


On Fri, Jun 19, 2009 at 12:36:51PM -0400, Cole Robinson wrote:
> virEnumFromString doesn't check for a NULL string, and will segfault if
> passed one. Lots of calling code protects against this, but at least
> /pool/@type parsing does not.

  Agreed, ACK

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