From nobody Mon Feb 9 08:55:17 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+45960+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45960+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1566003441; cv=none; d=zoho.com; s=zohoarc; b=iNT+BIif8xWZb/IyYfQ8m/DOia0aMLCcUt3f9whmhOQ3uEi245/F8GWviUMpJ7dLvEvWhBaTpCJgaKAfm81NlO0TY2IfYEDTlRQ/7REEui2rVG6vSmUToNqdgEwKBGs7ahExNw0nBiD1e7WRFRHe/f6m4zRU88YcrkC04CV1FOQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566003441; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=gkzjlnaLhueRwlvt6P/dwRN3ro72684w1QX/Hs46cCc=; b=TaKLyJCrA9Qnv6Qy9ZgoIqxYchxYvmFvPqp1+qbscTuGscOhVz5SCgHHrIYYjgA+Y87XdMt/21Cz/1uVtbsllMOB1vgvsEzZIYjI6n9Lj3ez8IWHIFUBzXUsDZgh14IXZ0A/xmy0ll1Ig0Y9ODAgY5UHMR8lflmgwn+Pa9LfUxw= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45960+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1566003441779384.6723972409708; Fri, 16 Aug 2019 17:57:21 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Fri, 16 Aug 2019 17:57:20 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Aug 2019 17:57:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,395,1559545200"; d="scan'208";a="171574104" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.251.3.193]) by orsmga008.jf.intel.com with ESMTP; 16 Aug 2019 17:57:20 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Andrew Fish , Jordan Justen , Ray Ni Subject: [edk2-devel] [Patch V5 07/11] EmulatorPkg/Unix/Host: Initialize field in BerkeleyPacketFilter.c Date: Fri, 16 Aug 2019 17:57:11 -0700 Message-Id: <20190817005715.9856-8-michael.d.kinney@intel.com> In-Reply-To: <20190817005715.9856-1-michael.d.kinney@intel.com> References: <20190817005715.9856-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,michael.d.kinney@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1566003441; bh=vjdB39ybc2HfeyFgg3UbYjPq3/bYU0sQm7FkPZB5CDI=; h=Cc:Date:From:Reply-To:Subject:To; b=UXbZOAo6ZEkE78GmzZljlX84rsecz5Ge02LAPVRjl584sBPK6x8BgS9cdUKqKhc+Nf2 mD0ey0w66gN3shZ0MmtBRgg4YdzNLVO/xmyzHbd49OhvFRCEAnJZYGZVDHNrCzwDjETuH nlw4MgWILFD97xlaTSegJS3iJLAVmYZQjNk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Andrew Fish Initialize Private->ReadBuffer to NULL. Cc: Jordan Justen Cc: Ray Ni Cc: Michael D Kinney Signed-off-by: Andrew Fish Reviewed-by: Michael D Kinney Tested-by: Andrew Fish --- EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c b/EmulatorPkg/Uni= x/Host/BerkeleyPacketFilter.c index 8d0eb0d197..540340f25f 100644 --- a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c +++ b/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c @@ -216,6 +216,7 @@ EmuSnpStart ( } =20 Status =3D EFI_SUCCESS; + Private->ReadBuffer =3D NULL; if (Private->BpfFd =3D=3D 0) { Status =3D OpenBpfFileDescriptor (Private, &Private->BpfFd); if (EFI_ERROR (Status)) { --=20 2.21.0.windows.1 -=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 (#45960): https://edk2.groups.io/g/devel/message/45960 Mute This Topic: https://groups.io/mt/32918481/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-