[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xenctrl_stubs.c: fix NULL dereference


  • To: Edwin Török <edvin.torok@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 3 Aug 2023 12:15:26 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4q9BXtk8s2rkrLIMpuk5869VQ4BI6xtPmbxxCg4i8TM=; b=A6hzeFZ24dvzHOrjMhllm1aBAeJwp2nAIFWIrQCtY0lH2JEshoqLwkBEZ9SWESS9jfi+wlXREoJaJd8lJejZcWLM2L46j9SDen297Mbkytk5/MyORL8oYOWh60DPtmjBeNUsqEsqdiPhmGJRLIPuTZumfz07PL/WxolqCJhs/yOpk2naIlMiXZ0WEyU9J+xAIJH5/opEEWz6RpQlKeWd1XnnkXFZS6eph33wmDR9GIjwciaC2eMmWqrHm2+pxnSLGbYZAXvTkhPx5QAhO2uFCYwLk8Ks85SnhHts7EYivLpzds8QO93WdSUsluR40qGcdV9ffoVCPVce4wLt0tm+ng==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CTogRfIfphU3kX4C/e9M9lGRbYO5GK1D1pIKjtN6ukE+um8z+x7uVCkcdxmt4PvDvp0Rj8xQCQECV2DRlnRiek0AGE+tNMLjTIi7Bdmt8JSciGPEKcY6lyQlmHf9CRk4HA2r5BtF5kn1356E+LiJ21LryQ18d+qRRTRaSnBqYbv+pUAxSTbFFTLVgs5zA9K8Sub9NAZ+8lc8PXHHzFw7V8SdnMUXSV0if6yOP64IaPitaXiG49frMKGvYKzKFDa+uAyo+PLTALJOdVzrDsmYuzClVXyhi2SFuVIrnLQQ7yVCooPDRoy1xnHRuaDakpDDsnO/22KHwRWZqE8flt/hLQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Edwin Török <edwin.torok@xxxxxxxxx>, Christian Lindig <christian.lindig@xxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 03 Aug 2023 10:15:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 13.07.2023 10:30, Edwin Török wrote:
> --- a/tools/ocaml/libs/xc/xenctrl_stubs.c
> +++ b/tools/ocaml/libs/xc/xenctrl_stubs.c
> @@ -832,7 +832,7 @@ CAMLprim value physinfo_arch_caps(const xc_physinfo_t 
> *info)
>  
>       tag = 1; /* tag x86 */
>  
> -     arch_obj = Tag_cons;
> +     arch_obj = Val_emptylist;
>  
>  #endif
>  

Since, aiui, this also affects 4.17, but the patch as is doesn't apply
there, could you please provide a suitable backport of what went onto
the master branch?

Thanks, Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.