[libvirt] [PATCH 4/6] xenapi: Resolve Coverity NULL_RETURNS

Peter Krempa pkrempa at redhat.com
Wed Mar 11 06:37:14 UTC 2015


On Tue, Mar 10, 2015 at 19:20:27 -0400, John Ferlan wrote:
> Coverity points out that the return from virDomainDefParseString is
> not checked in xenapiDomainCreateXML like it should be which could
> end up in a pointer dereference

NULL pointer deref.

> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/xenapi/xenapi_driver.c | 2 ++
>  1 file changed, 2 insertions(+)

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/2d7fedd7/attachment-0001.sig>


More information about the libvir-list mailing list