[libvirt] [PATCH 23/26] xen: Resolve Coverity NEGATIVE_RETURNS

Peter Krempa pkrempa at redhat.com
Thu Sep 11 09:48:43 UTC 2014


On 09/05/14 00:26, John Ferlan wrote:
> Coverity notes that if the call to virBitmapParse() returns a negative
> value, then when we jump to the error label, the call to
> virCapabilitiesClearHostNUMACellCPUTopology() will have issues
> with the negative nb_cpus
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/xen/xend_internal.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

ACK


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140911/d721ccee/attachment-0001.sig>


More information about the libvir-list mailing list