From nobody Mon Feb 9 19:30:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+108044+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108044+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1693133843; cv=none; d=zohomail.com; s=zohoarc; b=Mvggw+k9ctNL4CfAQ5mNhNLoeVXDstOLCr6q80MD6zpz4A/1JPITqQW0Te9aMxDqhwyTZVOIpjCzWGktJ96cdY3FMszJjjINogYfyb7Aj4OE+kj67x041y/uO/gwPN5Qt29UcYbx4DmqZRl913w9N5C8YLUid44e5mEPVuA+cVY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693133843; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=nzTd/tseHzecKZIfHrYNJuylk5nBEqdbIyI/O/6bqFU=; b=UsqlzflsyBKCKyrzEsF0bj99dhC8CAEXRSamFsOZvDVtolk9l0hrgrZy2sYtIchGKCT+8H9WAuGehiuCKAJmtIzmUkDMJuM6GzomteoyjdZ5MfZokyDDWtBVAq7iFDGgmcXJH1SlXpjlSq9rTRiMbOscY4Y7Cd60/HZQdDPE180= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+108044+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1693133843257924.1404353836417; Sun, 27 Aug 2023 03:57:23 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=vAaeHdy/qCA9v3L1DgViaTybCSo8i81tBwjdqigdqak=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1693133842; v=1; b=fkm0CwMl7PqP+o5oMOtdAr5zID4hDTKa1SjWeMV3N2lTOWi2pgjx0BKdbY5XBl3zYic5uUMC 68bkvtESnrTiLewhKKoUThZl+J9MnVGi+GO3YbTesJ1uTI0++rAEdMl4+7Af1xqbNpJYJ3oHfMt 9jn37uQrvHeTIcBbsrDUw/oQ= X-Received: by 127.0.0.2 with SMTP id rhCvYY1788612xYqUsqswYjw; Sun, 27 Aug 2023 03:57:22 -0700 X-Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web11.25130.1693133842129748370 for ; Sun, 27 Aug 2023 03:57:22 -0700 X-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-500b0f06136so1376701e87.0 for ; Sun, 27 Aug 2023 03:57:21 -0700 (PDT) X-Gm-Message-State: x1n4iwRksZPLdwCel6RuucJTx1787277AA= X-Google-Smtp-Source: AGHT+IGU6KXWd5Wid/f+LVjVWoeJmspceN1GWwm2pnO/jvqaVR0ViALb+9QnpTb9jSzcYlMLt9zMcg== X-Received: by 2002:a05:6512:368c:b0:500:9946:9c69 with SMTP id d12-20020a056512368c00b0050099469c69mr7432683lfs.29.1693133840028; Sun, 27 Aug 2023 03:57:20 -0700 (PDT) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id i11-20020ac2522b000000b004fb9fe34c27sm1085825lfl.92.2023.08.27.03.57.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 27 Aug 2023 03:57:19 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [PATCH 1/5] RedfishClientPkg: fix crash on access to uninialized list variable. Date: Sun, 27 Aug 2023 13:56:36 +0300 Message-Id: <20230827105640.94731-2-mike.maslenkin@gmail.com> In-Reply-To: <20230827105640.94731-1-mike.maslenkin@gmail.com> References: <20230827105640.94731-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1693133844825100005 Content-Type: text/plain; charset="utf-8" Signed-off-by: Mike Maslenkin --- RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c b/Re= dfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c index b9c799e07684..a1738de46fdf 100644 --- a/RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c +++ b/RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c @@ -97,6 +97,8 @@ RedfishConsumeResourceCommon ( if (BiosCs->Attributes =3D=3D NULL) { BiosCs->Attributes =3D AllocateZeroPool (sizeof (RedfishBios_V1_0_9_At= tributes_CS)); ASSERT (BiosCs->Attributes !=3D NULL); + // initialize list + BiosCs->Attributes->Prop.ForwardLink =3D &BiosCs->Attributes->Prop; } =20 // --=20 2.32.0 (Apple Git-132) -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108044): https://edk2.groups.io/g/devel/message/108044 Mute This Topic: https://groups.io/mt/100988471/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-