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 B181E820AA for ; Mon, 6 Feb 2017 21:54: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=w3wvT 9LzNnFgchnpC2wrEiMjMl5nz5pI8tDi0WHyUts=; b=R5rPE0DetEP5h+2N9rfQo n73vzBllsir6j3BDWf7zJpzjT/tfq/mqRxatq1ugQE/M9mwgdY8s4LbfOCcGkeVb Y/2ki3ZXmE2rxaHR+dCqrkZgnfk6k3hFQ/V5oCPFa/bBKEVI2VjXPximTxzUPtr4 6mgc4fUvhO6XC2M2CT5U3Q= Received: from winggundum82$163.com ( [180.167.10.98] ) by ajax-webmail-wmsvr21 (Coremail) ; Tue, 7 Feb 2017 13:54:36 +0800 (CST) X-Originating-IP: [180.167.10.98] Date: Tue, 7 Feb 2017 13:54:36 +0800 (CST) From: "wang xiaofeng" To: edk2-devel@lists.01.org, "jiewen yao" 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: <20170207033305.609040-7-ruiyu.ni@intel.com> References: <20170207033305.609040-1-ruiyu.ni@intel.com> <20170207033305.609040-7-ruiyu.ni@intel.com> X-CM-CTRLDATA: ghVx/WZvb3Rlcl9odG09MTI3NDo1Ng== MIME-Version: 1.0 Message-ID: <4cdcbecd.4fb8.15a1723561a.Coremail.winggundum82@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: FcGowABnAGscYZlYazDCAA--.40358W X-CM-SenderInfo: 5zlqww5xqg3ziys6il2tof0z/xtbBRRd3ZVO-5vR9BwADsH X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Bug 367 - Version Check for capsule update logic error 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, 07 Feb 2017 05:54:43 -0000 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 SGkgSmlld2VuLAogICBCdWcgMzY3IGlzIHN1Ym1pdHRlZCBmb3IgIFZlcnNpb24gQ2hlY2sgZm9y IGNhcHN1bGUgdXBkYXRlIGxvZ2ljIGVycm9yIC4KCgoKCkluIENhcHN1bGVBdXRoZW50aWNhdGVT eXN0ZW1GaXJtd2FyZSBvZiBTaWduZWRDYXBzdWxlUGtnXExpYnJhcnlcRWRraWlTeXN0ZW1DYXBz dWxlTGliXEVka2lpU3lzdGVtQ2Fwc3VsZUxpYi5jLCB0aGUgZm9sbG93aW5nIGxvZ2ljIHNlZW1z IGVycm9yCgogICBpZiAoRm9yY2VWZXJzaW9uTWF0Y2gpIHsKICAgIGlmIChDdXJyZW50SW1hZ2VG bXBJbmZvLT5WZXJzaW9uICE9IEltYWdlRm1wSW5mby0+VmVyc2lvbikgewogICAgICAqTGFzdEF0 dGVtcHRTdGF0dXMgPSBMQVNUX0FUVEVNUFRfU1RBVFVTX0VSUk9SX0lOQ09SUkVDVF9WRVJTSU9O OwogICAgICBERUJVRygoREVCVUdfSU5GTywgIkZvcmNlVmVyc2lvbk1hdGNoIGNoZWNrIC0gZmFp bFxuIikpOwogICAgICByZXR1cm4gRUZJX1NFQ1VSSVRZX1ZJT0xBVElPTjsKICAgIH0KICB9IGVs c2UgewogICAgaWYgKEN1cnJlbnRJbWFnZUZtcEluZm8tPlZlcnNpb24gPCBJbWFnZUZtcEluZm8t Pkxvd2VzdFN1cHBvcnRlZEltYWdlVmVyc2lvbikgewogICAgICAqTGFzdEF0dGVtcHRTdGF0dXMg PSBMQVNUX0FUVEVNUFRfU1RBVFVTX0VSUk9SX0lOQ09SUkVDVF9W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