From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m13-128.163.com (m13-128.163.com [220.181.13.128]) by ml01.01.org (Postfix) with ESMTP id 4DE2D81783 for ; Thu, 12 Jan 2017 21:33:28 -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=r0kAx aSup2QT2Lp/PrNcyD9M8D3PpLY4MKSeYgYBXN4=; b=SCB7LiqZULg9qgzW3pOm9 FPlVXpNW8YdgLgKdpd9hKxowewvCFkW9jjlC1nu2USrBK8QKa/Cz7JefVk3sLS08 D4eaSmY2487q9Azp0AmKKxUgofhOSMYB1xq8MejI7A4P1k0EUmsdNcZbVrvlRiUS od1lVLVF7QVmTHsV2wCFMo= Received: from winggundum82$163.com ( [180.167.10.98] ) by ajax-webmail-wmsvr128 (Coremail) ; Fri, 13 Jan 2017 13:33:13 +0800 (CST) X-Originating-IP: [180.167.10.98] Date: Fri, 13 Jan 2017 13:33:13 +0800 (CST) From: "wang xiaofeng" To: "edk2-devel@lists.01.org" 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: <74D8A39837DF1E4DA445A8C0B3885C503A8DEFEE@shsmsx102.ccr.corp.intel.com> References: <74D8A39837DF1E4DA445A8C0B3885C503A8DAEFD@shsmsx102.ccr.corp.intel.com> <7ccf9ae0.3b20.15990a025f3.Coremail.winggundum82@163.com> <74D8A39837DF1E4DA445A8C0B3885C503A8DEFEE@shsmsx102.ccr.corp.intel.com> X-CM-CTRLDATA: GMCPlGZvb3Rlcl9odG09MTc0NDo1Ng== MIME-Version: 1.0 Message-ID: <3d6f0ddd.45de.1599650c94c.Coremail.winggundum82@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: gMGowEDJQUGaZnhYe1WQAA--.36259W X-CM-SenderInfo: 5zlqww5xqg3ziys6il2tof0z/1tbiGA1eZVXlX+9ByAACsl X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: seems a minor logic error in UpdateCapsule of MdeModulePkg\Universal\CapsuleRuntimeDxe 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: Fri, 13 Jan 2017 05:33:29 -0000 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 SGkgQWxsLgogICBJbiAgVXBkYXRlQ2Fwc3VsZSBvZiBNZGVNb2R1bGVQa2dcVW5pdmVyc2FsXENh cHN1bGVSdW50aW1lRHhlLFRlbXBWYXJOYW1lIGlzIGluaXRsaXplZCBidXQgbm90IHVzZWQuIEkg Z3Vlc3MgdGhlIGF1dGhvciB0ZW5kcyB0byBzZXQgClRlbXBWYXJOYW1lIGluc3RlYWQgb2YgIENh cHN1bGVWYXJOYW1lICBpZiB1c2VyIGNhbGxzIFVwZGF0ZUNhcHN1bGUgbXVsdGlwbGUgdGltZXMu IFRoZSB0d28gbmFtZSBhcmUgc2FtZSBmb3IgdGhlIGZpcnN0IGNhbGwgLgoKCgoKU3RyQ3B5UyAo Q2Fwc3VsZVZhck5hbWUsIHNpemVvZihDYXBzdWxlVmFyTmFtZSkvc2l6ZW9mKENIQVIxNiksIEVG SV9DQVBTVUxFX1ZBUklBQkxFX05BTUUpOwogIFRlbXBWYXJOYW1lID0gQ2Fwc3VsZVZhck5hbWUg KyBTdHJMZW4gKENhcHN1bGVWYXJOYW1lKTsKICBpZiAobVRpbWVzID4gMCkgewogICAgVW5pY29k ZVZhbHVlVG9TdHJpbmcgKFRlbXBWYXJOYW1lLCAwLCBtVGltZXMsIDApOwogIH0KCgogIC8vCiAg Ly8gU2NhdHRlckdhdGhlckxpc3QgaXMgb25seSByZWZlcmVuY2VkIGlmIHRoZSB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