[libvirt] [PATCH 2/6] xenapi: Resolve Coverity FORWARD_NULL

Peter Krempa pkrempa at redhat.com
Wed Mar 11 06:47:05 UTC 2015


On Tue, Mar 10, 2015 at 19:20:25 -0400, John Ferlan wrote:
> Since inception.  Coverity complains that the code checks "(record ==
> NULL && !session->ok)", but doesn't check (record != NULL) before
> dereferencing at "record->is_a_template"
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/xenapi/xenapi_driver.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

ACK,

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


More information about the libvir-list mailing list