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.web10.4348.1600829325217217966 for ; Tue, 22 Sep 2020 19:48:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=IQIc/Bvk; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: ray.ni@intel.com) IronPort-SDR: ODcwHKstnK06hmUad9+27QcePQhT3C5jSuRzN1nSnZzPyB+zFhvt0G5Q7jN2wHuTJR3cMe8lGK zthYKj/RmKgA== X-IronPort-AV: E=McAfee;i="6000,8403,9752"; a="158149822" X-IronPort-AV: E=Sophos;i="5.77,292,1596524400"; d="scan'208";a="158149822" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2020 19:48:44 -0700 IronPort-SDR: xMm6esRbmSIKckc46Cs5IrCIn/r4FDWAXLEttQfnFlkdhQjH3I86q4sgoQGGmMYTtMOHOkBt/C y8VJJ2LeeJvA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,292,1596524400"; d="scan'208";a="511460048" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga005.fm.intel.com with ESMTP; 22 Sep 2020 19:48:43 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 22 Sep 2020 19:48:43 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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, 22 Sep 2020 19:48:43 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 22 Sep 2020 19:48:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KnFlhw1u7BH1XFGKyVCAlgMNQQUtigwOrifZR0CsiXis6OQOngC3oEgKs5R6urToZCOS5YGtXzZcACJGVSVtxd97vyDEd7i/iRIOMGw9+m6rKpDTp9BEo5IbD16v0PankjAdRwgW4B1Xi9+FDDWg/Us1UmYsWsYrd/6bX/iQ4U4TrMDbozsD2ck5v/3HvdcDujcSw6gL9KJWaQnXJ847dVUCPbLq5X1mTY62/mJkXKa6+uu9xYkN3wIStHy8C3cSlbVlRGd5l2PMGftR0Oj9ndmWfZ9Z17K676mYHZ38BVj/CoAGwFRMW98w7kgfYsZUP/hqhL6889F8EBcJJE4PAg== 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=o8Zn6wy39SoQ5R3wPtKrsm8JP9sCni5/eESX/fDJF3Y=; b=QWXCya8t8THhxSdKveSkPJkO06JgLukL+OaSAmW6FxvzzVUTk3wiUdLc9DZcq/fDEG3seUOAyof30P7YzABbBWQoskxYep+SnUPrnIl3ArJkz/kxtcWlsgobIRb3Dz1ZzACJV6HHcC1DpkI9SczBJ4M0VhOFR94ylgGwf9EwKDe42HdHtLgKB2Qis9PzcnL+ZfAyIzUu37byneBKz4Naaq3i1ywhf0TgIx7I+pR01B5IUJZUhaBgnr5gxFhrcQofLvAgNEgjxOlakrtPWny5eowtaMwBC6132n5WiW7expWegU6uxMShkHbCsspGwALu/waIdRQzJlIxLbe0gOd5KA== 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=o8Zn6wy39SoQ5R3wPtKrsm8JP9sCni5/eESX/fDJF3Y=; b=IQIc/Bvk7+bx3srNc5e0NIuUG/yyyNAuzVNJLrSx2ia9Q8o9QQ42afh4XyEcppv9FYPHi4KRf8KnPo3SJgzBCYsXLN/wvwvSgoC3ZwYRYu70d+mkM78/mHSN0rqkxGG4KI+Rrb09ZYiiT9OAVqEBTz0f5wL52zurL2Be9U6HlSg= Received: from BY5PR11MB4007.namprd11.prod.outlook.com (2603:10b6:a03:189::28) by BY5PR11MB4307.namprd11.prod.outlook.com (2603:10b6:a03:1bd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.26; Wed, 23 Sep 2020 02:48:35 +0000 Received: from BY5PR11MB4007.namprd11.prod.outlook.com ([fe80::1533:4053:1c45:3596]) by BY5PR11MB4007.namprd11.prod.outlook.com ([fe80::1533:4053:1c45:3596%6]) with mapi id 15.20.3370.033; Wed, 23 Sep 2020 02:48:35 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "xiewenyi2@huawei.com" , "Justen, Jordan L" , "afish@apple.com" CC: "songdongkuang@huawei.com" Subject: Re: [edk2-devel] [PATCH EDK2 v1 1/1] EmulatorPkg/host: fix overflow in Mult Thread-Topic: [edk2-devel] [PATCH EDK2 v1 1/1] EmulatorPkg/host: fix overflow in Mult Thread-Index: AQHWgE9/vM2ci4PfFEimVOQGW1ad36l0JDUAgAGCooA= Date: Wed, 23 Sep 2020 02:48:35 +0000 Message-ID: References: <1598957888-128729-1-git-send-email-xiewenyi2@huawei.com> <1598957888-128729-2-git-send-email-xiewenyi2@huawei.com> In-Reply-To: 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.198.147.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c10b08f4-711d-4a1e-8092-08d85f6b2aca x-ms-traffictypediagnostic: BY5PR11MB4307: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zHo7e0vmNq2YTw6WgBqIgZk2reBY3sUaw2+YBLah0CrmDiPecM4YlWeTlMl1+b7FBlJqeJ5aEGkJGAh0iXjUu/x389ZuWrXJkxwSPejjEISgUHGBxvMSs4dE4XNrM8btNfVHlO/WU0X2XVdlNMA2FDC4Qdbjp6Xe9fF9/LT34ourHe0GPwpPgSA8AmRiSjwmLmn1PqVEiu0YNLLSwMx+Ql+QOJ/v79upj+i1lqElHx/bxKHl75aH3P5XnlFQqtcLuBodKr/K68Tg+495mTx+hVtFwVL6lFlX2uDH8jcZaCJLGSC76Vir7/baxuXW+i3N60zA7JfkR+y2jbqyRslTHmRXwp53Uue7q23S8PU5ni6oY+yN54PiUS95ndG51VFWhk6/TfFdHMgGeNvglpnMMw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4007.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(366004)(136003)(346002)(376002)(39860400002)(5660300002)(71200400001)(76116006)(7696005)(83380400001)(966005)(4326008)(66476007)(66556008)(64756008)(66946007)(8936002)(478600001)(186003)(316002)(66446008)(6506007)(2906002)(53546011)(9686003)(26005)(52536014)(86362001)(110136005)(55016002)(8676002)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: /b3sk5kv5k/9OThyo7decmurf5PKPUrfzvq7IHX0B95UCgqQkyc20iVWMYPO+EAh+ZB90T/Cr01RmCGVkHKxjSsI34+TxNfRS54IwB42IejfahqY6RtuKxB09yZ+vaAvG5pgju+VfKgKTZkZSNBH4wozuP6TMtC+mJ1/s44A6x2AcEl4xTqi6WsYtQZXntVsVAScldvCUL7up+NYzRHUA04XM1G+8uo2aAf8+n6ctWMjIU5N+1KyaAfqv9qUDVbHnsEntwVU7pfX+FCoEOPyTIgWUUxMLBtmlgBjZGUC73V+LdFKr+alpXqIndEgUii/BXr7zdh4oGgksGsYXdqjvMRVsDZfgrpFXHGVBDZhHwG7Gx3qs8d39B3LzyQ1m3FSoh2FrcQKyXJcCnOYuYgzd03cooTii8XI70ARw4Xs5JQqhqBLMr8XKfPfwxvzlMdzeYM++w3T18wNyrJrs7RuimIUnGpCmN5aHb2w7umdBiTiw9l3xcVRbujXzLFCvIukGpKxa4gkfSqE58+YkK5e4dB6j3/c0EpBiZfk6NYb9RWQcQeL99ngZYZQ5sPxIx0HfOr6FCy3tuwP6lVTELKJwmEmbwRJS6wXqdWrNJ8qpPYbxYqYw3VVVkJDl1FObgRT3RgDaliCW3GrTNmmDgmzNg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4007.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c10b08f4-711d-4a1e-8092-08d85f6b2aca X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2020 02:48:35.4730 (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: 0D667E6Knlxr+zy30oB/ZKxvZi/0QTgcpF2sVk++ex0slteY1Syl0oDqX57tREjtessV24n/kbTx5eKkJBh0bA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4307 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IFJheSBOaSA8cmF5Lm5pQGludGVsLmNvbT4NCg0KUHVsbCByZXF1ZXN0IHdh cyBjcmVhdGVkOiBodHRwczovL2dpdGh1Yi5jb20vdGlhbm9jb3JlL2VkazIvcHVsbC85NTENCg0K SWYgeW91IHNlZSBhbnkgZmFpbHVyZXMsIHBsZWFzZSBzZW5kIHVwZGF0ZWQgcGF0Y2ggdG8gZml4 Lg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldmVsQGVkazIuZ3Jv dXBzLmlvIDxkZXZlbEBlZGsyLmdyb3Vwcy5pbz4gT24gQmVoYWxmIE9mIHdlbnlpLHhpZQ0KPiB2 aWEgZ3JvdXBzLmlvDQo+IFNlbnQ6IFR1ZXNkYXksIFNlcHRlbWJlciAyMiwgMjAyMCAxMTo0MyBB TQ0KPiBUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW87IEp1c3RlbiwgSm9yZGFuIEwgPGpvcmRhbi5s Lmp1c3RlbkBpbnRlbC5jb20+Ow0KPiBhZmlzaEBhcHBsZS5jb207IE5pLCBSYXkgPHJheS5uaUBp bnRlbC5jb20+DQo+IENjOiBzb25nZG9uZ2t1YW5nQGh1YXdlaS5jb20NCj4gU3ViamVjdDogUmU6 IFtlZGsyLWRldmVsXSBbUEFUQ0ggRURLMiB2MSAxLzFdIEVtdWxhdG9yUGtnL2hvc3Q6IGZpeCBv dmVyZmxvdw0KPiBpbiBNdWx0DQo+IA0KPiBIaSBhbGwsDQo+IA0KPiBQbGVhc2UgcmV2aWV3IHRo aXMgcGF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