[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] [PATCH] Handle failed openvzLocateConfDir.



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 redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]