From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v4] libxl: handle failure of xc_version() in libxl_get_version_info() Date: Wed, 24 Feb 2016 18:53:01 +0100 Message-ID: <1456336381.17312.78.camel@citrix.com> References: <1456312061-2606-1-git-send-email-write.harmandeep@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1295037295970148757==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aYddF-00066g-EC for xen-devel@lists.xenproject.org; Wed, 24 Feb 2016 17:53:49 +0000 In-Reply-To: <1456312061-2606-1-git-send-email-write.harmandeep@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Harmandeep Kaur , xen-devel@lists.xenproject.org Cc: ian.jackson@eu.citrix.com, wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org --===============1295037295970148757== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JLiAu2FMdMlE78A94c6O" --=-JLiAu2FMdMlE78A94c6O Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2016-02-24 at 16:37 +0530, Harmandeep Kaur wrote: > Check the return value of xc_version() and return NULL if it > fails. libxl_get_version_info() can also return NULL now. >=20 > Callers of the function libxl_get_version_info() are already > prepared to deal with a NULL return value. >=20 > Coverity ID 1351217 >=20 > Signed-off-by: Harmandeep Kaur > Reviewed-by: Dario Faggioli Thanks and regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-JLiAu2FMdMlE78A94c6O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlbN7f0ACgkQk4XaBE3IOsQ/vACcCaamRrJ23WkPSr4N52AQ6Z8k 8poAnirCFRQgNvh9Rp5G2brtSeT2Mia1 =IeUe -----END PGP SIGNATURE----- --=-JLiAu2FMdMlE78A94c6O-- --===============1295037295970148757== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1295037295970148757==--