From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.groups.io with SMTP id smtpd.web08.7637.1605783259836052515 for ; Thu, 19 Nov 2020 02:54:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cMJF5h5f; spf=pass (domain: redhat.com, ip: 63.128.21.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605783259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XczrloiZINwimSnehDcz+a4H0tzwcjrkFHt120k9jY8=; b=cMJF5h5f8IXilCY832mg9eCPBvCv9KrVLfjeHMoBhPaFgK9OGAG2QTuEF+FhwEltJK+2PU XiWI8Cr/OsJygv7DEeKewULmtdoZkL/vwQ8Fs1R246K7S21tcaTI9lDF6U/XlXQLsqegHs KYlfh0OCEVaVSBYeyUuSQP+bDkbTNIs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-216-27nROoU4MZ6SxrQmLWl4PQ-1; Thu, 19 Nov 2020 05:54:14 -0500 X-MC-Unique: 27nROoU4MZ6SxrQmLWl4PQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 304F18EEA91; Thu, 19 Nov 2020 10:53:47 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-112-236.ams2.redhat.com [10.36.112.236]) by smtp.corp.redhat.com (Postfix) with ESMTP id A0BB31346F; Thu, 19 Nov 2020 10:53:45 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Dandan Bi , Hao A Wu , Jian J Wang , Liming Gao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 RESEND 2/2] MdeModulePkg/Core/Dxe: limit FwVol encapsulation section recursion Date: Thu, 19 Nov 2020 11:53:40 +0100 Message-Id: <20201119105340.16225-3-lersek@redhat.com> In-Reply-To: <20201119105340.16225-1-lersek@redhat.com> References: <20201119105340.16225-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 VGhlIERYRSBDb3JlIHNldHMgdXAgYSBwcm90b2NvbCBub3RpZnkgZnVuY3Rpb24gaW4gaXRzIGVu dHJ5IHBvaW50LCBmb3IKaW5zdGFuY2VzIG9mIHRoZSBGaXJtd2FyZSBWb2x1bWUgQmxvY2syIFBy b3RvY29sOgoKICBEeGVNYWluKCkgICAgICAgICAgIFtEeGVNYWluL0R4ZU1haW4uY10KICAgIEZ3 Vm9sRHJpdmVySW5pdCgpIFtGd1ZvbC9Gd1ZvbC5jXQoKQXNzdW1lIHRoYXQgYSAzcmQgcGFydHkg VUVGSSBkcml2ZXIgb3IgYXBwbGljYXRpb24gaW5zdGFsbHMgYW4gRlZCCmluc3RhbmNlLCB3aXRo IGNyYWZ0ZWQgY29udGVudHMuIFRoZSBub3RpZmljYXRpb24gZnVuY3Rpb24gcnVuczoKCiAgTm90 aWZ5RndWb2xCbG9jaygpIFtGd1ZvbC9Gd1ZvbC5jXQoKaW5zdGFsbGluZyBhbiBpbnN0YW5jZSBv ZiB0aGUgRmlybXdhcmUgVm9sdW1lIDIgUHJvdG9jb2wgb24gdGhlIGhhbmRsZS4KCihBbHRlcm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NoaWxkDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2FzIGZvdW5kIGlu LiAgSWYgdGhpcyBzdHJlYW0gd2FzIGdlbmVyYXRlZCBhcyBhDQpAQCAtOTY4LDYgKzk3MSw5IEBA IENyZWF0ZUNoaWxkTm9kZSAoCiAgIEByZXR2YWwgRUZJX05PVF9GT1VORCAgICAgICAgICBSZXF1 ZXN0ZWQgY2hpbGQgbm9kZSBkb2VzIG5vdCBleGlzdC4NCiAgIEByZXR2YWwgRUZJX1BST1RPQ09M X0VSUk9SICAgICBhIHJlcXVpcmVkIEdVSURFRCBzZWN0aW9uIGV4dHJhY3Rpb24gcHJvdG9jb2wN CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkb2VzIG5vdCBleGlzdA0KKyAgQHJl dHZhbCBFRklfQUJPUlRFRCAgICAgICAgICAgIFJlY3Vyc2lvbiBhYm9ydGVkIGJlY2F1c2UgRGVw dGggaGFzIGJlZW4NCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBncmVhdGVyIHRo YW4gb3IgZXF1YWwgdG8NCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBQY2RGd1Zv bER4ZU1heEVuY2Fwc3VsYXRpb25EZXB0aC4NCiANCiAqKi8NCiBFRklfU1RBVFVTDQpAQCAtOTc2 LDYgKzk4Miw3IEBAIEZpbmRDaGlsZE5vZGUgKAogICBJTiAgICAgRUZJX1NFQ1RJT05fVFlQRSAg ICAgICAgICAgICAgICAgICAgICAgICAgIFNlYXJjaFR5cGUsDQogICBJTiBPVVQgVUlOVE4gICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpTZWN0aW9uSW5zdGFuY2UsDQogICBJ TiAgICAgRUZJX0dVSUQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpTZWN0aW9u RGVmaW5pdGlvbkd1aWQsDQorICBJTiAgICAgVUlOVDMyICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIERlcHRoLA0KICAgT1VUICAgIENPUkVfU0VDVElPTl9DSElMRF9OT0RFICAg ICAgICAgICAgICAgICAgICAqKkZvdW5kQ2hpbGQsDQogICBPVVQgICAgQ09SRV9TRUNUSU9OX1NU UkVBTV9OT0RFICAgICAgICAgICAgICAgICAgICoqRm91bmRTdHJlYW0sDQogICBPVVQgICAgVUlO VDMyICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpBdXRoZW50aWNhdGlvblN0 YXR1cw0KQEAgLTk5MCw2ICs5OTcsMTAgQEAgRmluZENoaWxkTm9kZSAoCiANCiAgIEFTU0VSVCAo KlNlY3Rpb25JbnN0YW5jZSA+IDApOw0KIA0KKyAgaWYgKERlcHRoID49IFBjZEdldDMyIChQY2RG d1ZvbER4ZU1heEVuY2Fwc3VsYXRpb25EZXB0aCkpIHsNCisgICAgcmV0dXJuIEVGSV9BQk9SVEVE Ow0KKyAgfQ0KKw0KICAgQ3VycmVudENoaWxkTm9kZSA9IE5VTEw7DQogICBFcnJvclN0YXR1cyA9 IEVGSV9OT1RfRk9VTkQ7DQogDQpAQCAtMTA1Myw2ICsxMDY0LDcgQEAgRmluZENoaWxkTm9kZSAo CiAgICAgICAgICAgICAgICAgU2VhcmNoVHlwZSwNCiAgICAgICAgICAgICAgICAgU2VjdGlvbklu c3RhbmNlLA0KICAgICAgICAgICAgICAgICBTZWN0aW9uRGVmaW5pdGlvbkd1aWQsDQorICAgICAg ICAgICAgICAgIERlcHRoICsgMSwNCiAgICAgICAgICAgICAgICAgJlJlY3Vyc2VkQ2hpbGROb2Rl LA0KICAgICAgICAgICAgICAgICAmUmVjdXJzZWRGb3VuZFN0cmVhbSwNCiAgICAgICAgICAgICAg ICAgQXV0aGVudGljYXRpb25TdGF0dXMNCkBAIC0xMDY3LDkgKzEwNzksMTcgQEAgRmluZENoaWxk Tm9kZSAoCiAgICAgICAgICpGb3VuZFN0cmVhbSA9IFJlY3Vyc2VkRm91bmRTdHJlY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pZCwNCisgICAgICAgICAgICAgICAwLCAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgLy8gZW5jYXBzdWxhdGlvbiBkZXB0aA0KICAgICAgICAgICAgICAg ICZDaGlsZE5vZGUsDQogICAgICAgICAgICAgICAgJkNoaWxkU3RyZWFtTm9kZSwNCiAgICAgICAg ICAgICAgICAmRXh0cmFjdGVkQXV0aGVudGljYXRpb25TdGF0dXMNCiAgICAgICAgICAgICAgICAp Ow0KICAgICBpZiAoRUZJX0VSUk9SIChTdGF0dXMpKSB7DQorICAgICAgaWYgKFN0YXR1cyA9PSBF RklfQUJPUlRFRCkgew0KKyAgICAgICAgREVCVUcgKChERUJVR19FUlJPUiwgIiVhOiByZWN1cnNp b24gYWJvcnRlZCBkdWUgdG8gbmVzdGluZyBkZXB0aFxuIiwNCisgICAgICAgICAgX19GVU5DVElP Tl9fKSk7DQorICAgICAgICAvLw0KKyAgICAgICAgLy8gTWFwICJhYm9ydGVkIiB0byAibm90IGZv dW5kIi4NCisgICAgICAgIC8vDQorICAgICAgICBTdGF0dXMgPSBFRklfTk9UX0ZPVU5EOw0KKyAg ICAgIH0NCiAgICAgICBnb3RvIEdldFNlY3Rpb25fRG9uZTsNCiAgICAgfQ0KIA0KLS0gCjIuMTku MS4zLmczMDI0N2FhNWQyMDEKCg==