From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web09.18376.1605666246046992334 for ; Tue, 17 Nov 2020 18:24:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=c9oQyqIU; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: bob.c.feng@intel.com) IronPort-SDR: h7+vmMSXZ9QcyUj5tKHLH50fxgyuPe5HbprAdQ3fiCvBJ5L9QLp8FZnMkuSHUhoeqEAa+xlEJ4 WyYWDmN5bTgA== X-IronPort-AV: E=McAfee;i="6000,8403,9808"; a="168479949" X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="168479949" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2020 18:24:03 -0800 IronPort-SDR: FbYl9LyPGg2cbK4608R2wVALIkvyQugrjeeLKTJ2/2yioVSBaTfpcOvhHmv1SNW4wXRGzd4dV+ Udh+JmtTud/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="330293101" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga006.jf.intel.com with ESMTP; 17 Nov 2020 18:24:02 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 17 Nov 2020 18:24:02 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 17 Nov 2020 18:24:02 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.106) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 17 Nov 2020 18:24:00 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YQATmUfE3mO9Pyp84H/Lxg6SLVkn3aDFk7gvKxWAeRndXfWDQHvcAQ7W7QELtxK/0J6SkuyBV5LgLwRiR/9LPaP01EECmc+sloGNQA2WhYMKJ8fNhCbV9Wm9paVs82Q7Y6i48LRyNEzsEWvNsyrkFQaXti1kEO1jfvh5hU+jAl3ssvp1ZU2sF0aXpXQ3oCLc3ulE4pLPMqcrYkO3jmnP3N49FX7oanEKfr0C9CMkiG3VKLJW91MediNvWACnKqpjXJd/SKRfxNo31Xp/o35HoBCYSxNpz/G1WB3rbWm7LyXWwoTP4+dKa/R+enKfEDLyh3zgXmHC2RS4DCcV+Dgc7w== 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-SenderADCheck; bh=2oJlxSC5NL8F9ClHcIUya/UCByaMJvG9+1C0o7aLZpk=; b=SBw9HGFTAJMYLSVrAxE6H7JR5Pdpc3xAL6zSEsznxzbB23NFAKeEjMJLopi2j8TReZQnul9BifggexvtRaFcB1QjfLg1PlXSPXquPuJoVSTHdvjB4/+X8pSIMP3K2YLh/Yv2x2bHSoyMN1l0XYbtBb9P9jKV1RJauyMgKS2pCxDlQX+YogVvDrsy6yBlpV/Eb9FBdqz9/hVa6C+j5z8Dmt1703BrnMMhVmNa/LYhImmCu3/FOwbn42Izh+4x9BIt21TdB8hE+gbQB4wO98pYthH/vMSYy4vnkw9/yzB/Czs+5LuofM6RmvoLJ2ZsK6oZ4X2xEbrglrzJedI7EabwKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2oJlxSC5NL8F9ClHcIUya/UCByaMJvG9+1C0o7aLZpk=; b=c9oQyqIU6b7kO9ifiG8QVad3Dt8kZ4W+uUbZdOXn7JeO5MReGx/wz7Ce64dLRhBQKUydX8mkE79WMcTq27d1N2GVclAngjx7WAKJxuYq6/lprVChKUmrcZCM1DESG/UpRZ98nWm01GdDDEchpux4+vLgJ2saosJoKKomcxzY8qE= Received: from DM6PR11MB4073.namprd11.prod.outlook.com (2603:10b6:5:19f::22) by DM6PR11MB3803.namprd11.prod.outlook.com (2603:10b6:5:141::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20; Wed, 18 Nov 2020 02:23:59 +0000 Received: from DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::c9f:47ea:6321:5ccb]) by DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::c9f:47ea:6321:5ccb%3]) with mapi id 15.20.3589.020; Wed, 18 Nov 2020 02:23:59 +0000 From: "Bob Feng" To: "devel@edk2.groups.io" , "Feng, Bob C" , "Liang, MingyueX" CC: Liming Gao , "Chen, Christine" Subject: Re: [edk2-devel] [PATCH V2] BaseTools: Resolve index out of range errors. Thread-Topic: [edk2-devel] [PATCH V2] BaseTools: Resolve index out of range errors. Thread-Index: AQHWuY9AWw3oH+TtU0CI6jTv3M6wJKnNJGYQgAALicA= Date: Wed, 18 Nov 2020 02:23:59 +0000 Message-ID: References: <20201113073301.1028-1-mingyuex.liang@intel.com> <164876971E6C4F0C.5807@groups.io> In-Reply-To: <164876971E6C4F0C.5807@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5d13d589-17ff-47ee-0c37-08d88b690204 x-ms-traffictypediagnostic: DM6PR11MB3803: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:302; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IWHnCUk+XKbv98dRsXI5xaDLAuQXZg9gpziRVg1S+ACVYn6n1zRr9478yuBqCrHjn+9Kq0AgRPu9s+kiIyzC6dJr+MGBVVnp0yy6OtEkDXsxXG0jG2dzqjAYcZCLJqy0sgCnfPq0uQM6eSl4SuPots+Qvq3p3zx6vJ3pxuW3DdEFfNdppTNPhmgZ0hsN2jt/5z0QECoSex/ib1ybV0pomH8ZQpGedB301EnbICX4CzP+Ro1rk36WrEwvRh+BBsZJ/Bzc527jr/aqu0BUv25tiEaiHl+g+PoSrZJALsKGGX/BvdIVJ/ehs4H/6iIBaFcYiYzgoN62j6FnOV7GYDFqSFVI0ekBnYfY5K9L1LjNZJEj1sKi2BtjqrjnIkHvlo0H/QLaMdsT5DTWzJXnwE0SOg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4073.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(346002)(396003)(376002)(39860400002)(136003)(7696005)(4326008)(2906002)(55016002)(9686003)(53546011)(26005)(71200400001)(76116006)(8936002)(186003)(83380400001)(66476007)(66556008)(64756008)(66446008)(6506007)(966005)(66946007)(110136005)(316002)(86362001)(107886003)(52536014)(33656002)(54906003)(8676002)(6636002)(5660300002)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: XsBIm0PCaYKCrDwvQcNk/Ldn4zq1glerjRsT1ifR6e0IQXv6aBBDMy/uZ6fpha13zdOuEfU3ZVyrGgNbbWwJfUIAfQHx9QEPNRJT+Wpp8BItVXv0sXSnE5TeroXeO4Y+PXDmMMWioDKblZ1LyiPdV9hdsEFCW0L0nagPX9CyMgi9ZvUiYrSGjRlzxDOm87qrVPTJJjh7qQgohRLkfkKQgLyKQH90xVhmQB8i51fIXVQdS2i2mW+Ivd9TAOZgUUv8zE0PFq0lnIJ35ueZPlVWpmIZAIRipPRN99DWlqsCHND3wEyNmcKQAk9nNZZysSbox1xohphqoLdUGxdsBsR3roAWdlJiZUu8MPGRFxdsm8DY2c/3IaahR3si83jKM4FEHbz6usSe1uMc8xHfgusfuEroLXhAgfbTGQJvkG1aozN7dUtkR1rBXZEMC4GJol7skHO6DxZg3fdFgxGTGwqmD+wxfiZYbXBjBbhs+FIVVt1jDEkHSRnowIpFu7ux7h6LQ3E76elASHrHftfeYXmnOg2txLRTvj4sFx1TUGHbax+2WQGgqGXDU5ZkiZlDOaUjJSBygdLbDuThIWR69CNis2NeBDuNx/N6foIwT0brEZOnyhD/P6dFGzlz86ZiWvdpJtSkXC1aypm0FisIekkDhg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4073.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d13d589-17ff-47ee-0c37-08d88b690204 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2020 02:23:59.3252 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FEgdobVGEqzEIs5IWRA198AMmO/bbu2oanU6gpAyrZ3EiUOZXyV/+sGS9t47oewOXC2lqtSvByD5wvZkddFc1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3803 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhpcyBwYXRjaCBpcyB0byBmaXggYSBiYXNldG9vbHMgcmVncmVzc2lvbiBpc3N1ZS4gSWYgdGhl cmUgaXMgbm8gb2JqZWN0aW9uLCBJJ2xsIG1lcmdlIGl0IHRvbW9ycm93Lg0KDQpUaGFua3MsDQpC b2INCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IGRldmVsQGVkazIuZ3JvdXBz LmlvIDxkZXZlbEBlZGsyLmdyb3Vwcy5pbz4gT24gQmVoYWxmIE9mIEJvYiBGZW5nDQpTZW50OiBX ZWRuZXNkYXksIE5vdmVtYmVyIDE4LCAyMDIwIDk6NDEgQU0NClRvOiBMaWFuZywgTWluZ3l1ZVgg PG1pbmd5dWV4LmxpYW5nQGludGVsLmNvbT47IGRldmVsQGVkazIuZ3JvdXBzLmlvDQpDYzogTGlt aW5nIEdhbyA8Z2FvbGltaW5nQGJ5b3NvZnQuY29tLmNuPjsgQ2hlbiwgQ2hyaXN0aW5lIDx5dXdl aS5jaGVuQGludGVsLmNvbT4NClN1YmplY3Q6IFJlOiBbZWRrMi1kZXZlbF0gW1BBVENIIFYyXSBC YXNlVG9vbHM6IFJlc29sdmUgaW5kZXggb3V0IG9mIHJhbmdlIGVycm9ycy4NCg0KUmV2aWV3ZWQt Ynk6IEJvYiBGZW5nIDxib2IuYy5mZW5nQGludGVsLmNvbT4NCg0KLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCkZyb206IE1pbmd5dWUgTGlhbmcgPG1pbmd5dWV4LmxpYW5nQGludGVsLmNvbT4g DQpTZW50OiBGcmlkYXksIE5vdmVtYmVyIDEzLCAyMDIwIDM6MzMg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