[libvirt] [PATCH] openvzRegister: Check for error return

Daniel P. Berrange berrange at redhat.com
Fri Mar 14 11:08:25 UTC 2014


On Fri, Mar 14, 2014 at 06:45:59AM -0400, John Ferlan wrote:
> A recent change to openvz_driver.c caused Coverity to make additional
> comparisons and find that the openvzRegister() was not checking the
> status of virRegisterDriver() call like other callers and thus generated
> a CHECKED_RETURN condition
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/openvz/openvz_driver.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list