[Libvir] [PATCH] Handle failed openvzLocateConfDir.
Daniel Veillard
veillard at redhat.com
Wed Feb 20 14:53:55 UTC 2008
On Wed, Feb 20, 2008 at 02:56:06PM +0100, Jim Meyering wrote:
> While looking at misuses of write, I found problems in src/openvz_conf.c
> Here's the first fix:
>
> Handle failed openvzLocateConfDir.
> * src/openvz_conf.c (openvzLocateConfDir, openvzGetVPSUUID):
> (openvzSetUUID): Don't dereference NULL upon failure.
Looks fine to me +1,
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list