From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m13-21.163.com (m13-21.163.com [220.181.13.21]) by ml01.01.org (Postfix) with ESMTP id B0A9181EE6 for ; Mon, 23 Jan 2017 23:56:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=O3JCl AHKhUBCj3KKJSvM/gWmme6ElgEdj+rRrIW6sjA=; b=VgNifXtsVibzOsgQZ2IuQ nxXB6tNCMl54JlqdmtruQTA9wTIaQRvGY+ecK48fZCUV4bT2MPt1t0D5KFHEcrsR LC72MScOKldGl9wLBQ96drhS2EA3TXrc648PR9w81Ycxv1YSYqV/pBW4xD+VXCZt xvkOWqKi/NKUbBeyN3Do0I= Received: from winggundum82$163.com ( [180.167.10.98] ) by ajax-webmail-wmsvr21 (Coremail) ; Tue, 24 Jan 2017 15:56:29 +0800 (CST) X-Originating-IP: [180.167.10.98] Date: Tue, 24 Jan 2017 15:56:29 +0800 (CST) From: "wang xiaofeng" To: "edk2-devel@lists.01.org" , "Dong, Eric" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160729(86883.8884) Copyright (c) 2002-2017 www.mailtech.cn 163com In-Reply-To: <3d6f0ddd.45de.1599650c94c.Coremail.winggundum82@163.com> References: <74D8A39837DF1E4DA445A8C0B3885C503A8DAEFD@shsmsx102.ccr.corp.intel.com> <7ccf9ae0.3b20.15990a025f3.Coremail.winggundum82@163.com> <74D8A39837DF1E4DA445A8C0B3885C503A8DEFEE@shsmsx102.ccr.corp.intel.com> <3d6f0ddd.45de.1599650c94c.Coremail.winggundum82@163.com> X-CM-CTRLDATA: ZgKVP2Zvb3Rlcl9odG09Mjk3MTo1Ng== MIME-Version: 1.0 Message-ID: <427ee1e3.4404.159cf79e45f.Coremail.winggundum82@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: FcGowAB3vWmuCIdYoV+9AA--.36076W X-CM-SenderInfo: 5zlqww5xqg3ziys6il2tof0z/1tbiThBpZVUCwah3SQACsQ X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: SetUnicodeMem in DisplayEngineDxe seems unsafe X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 07:56:43 -0000 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 SGkgRGlzcGxheUVuZ2luZUR4ZSAgT3duZXIsCiAgIFNldFVuaWNvZGVNZW0gc2VlbXMgdW5zYWZl ICBzaW5jZSB0aGUgYnVmZmVyIG1heSBvdmVyZmxvdyBpZiB0aGUgaW5wdXQgU2l6ZSBpcyBiaWdn ZXIgdGhhbiBidWZmZXIgc2l6ZS5EbyB3ZSB0aGluayBhYm91dCBpbXByb3ZlIHRoZSBmdW5jdGlv biAKCgovKioKICBTZXQgQnVmZmVyIHRvIFZhbHVlIGZvciBTaXplIGJ5dGVzLgoKCiAgQHBhcmFt ICBCdWZmZXIgICAgICAgICAgICAgICAgIE1lbW9yeSB0byBzZXQuCiAgQHBhcmFtICBTaXplICAg ICAgICAgICAgICAgICAgIE51bWJlciBvZiBieXRlcyB0byBzZXQKICBAcGFyYW0gIFZhbHVlICAg ICAgICAgICAgICAgICAgVmFsdWUgb2YgdGhlIHNldCBvcGVyYXRpb24uCgoKKiovClZPSUQKU2V0 VW5pY29kZU1lbSAoCiAgSU4gVk9JRCAgICpCdWZmZXIsCiAgSU4gVUlOVE4gIFNpemUsCiAgSU4g Q0hBUjE2IFZhbHVlCiAgKQp7CiAgQ0hBUjE2ICAqUHRyOwoKCiAgUHRyID0gQnVmZmVyOwogIHdo aWxlICgoU2l6ZS0tKSAgIT0gMCkgewogICAgKihQdHIrKykgPSBWYWx1ZTsKICB9Cn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