[libvirt] [PATCH 5/7] virsh-nodedev: Resolve Coverity issues
Daniel P. Berrange
berrange at redhat.com
Thu Jul 11 13:51:40 UTC 2013
On Thu, Jul 11, 2013 at 08:34:05AM -0400, John Ferlan wrote:
> Recent changes uncovered FORWARD_NULL and NEGATIVE_RETURNS problems with
> the processing of the 'ndevices' and its associated allocated arrays in
> 'vshNodeDeviceListCollect' due to the possibility of returning -1 in a
> call and using the returned value as a for loop index end condition.
Same comment as prev patch.
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