From nobody Mon Dec 23 23:59:19 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1512839087613528.1422236107522; Sat, 9 Dec 2017 09:04:47 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id CFB702214E35E; Sat, 9 Dec 2017 09:00:09 -0800 (PST) Received: from sonic301-46.consmr.mail.ne1.yahoo.com (sonic301-46.consmr.mail.ne1.yahoo.com [66.163.184.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9CDDB21B02822 for ; Sat, 9 Dec 2017 09:00:08 -0800 (PST) Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sat, 9 Dec 2017 17:04:43 +0000 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=66.163.184.215; helo=sonic301-46.consmr.mail.ne1.yahoo.com; envelope-from=zenith432@users.sourceforge.net; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1512839083; bh=rUpmeEhnUzVPip/fJkbUt6zhLQRzK0i5Ysq4t46SHgc=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=SRLDgTC3kowyNPzibySxbm3xdsPh27MeGFHpt6w2lR1C+mYylqo820Xc0HKiNb4KAs1OFK2ysp4XugNgLznMbV7/PcRQGnsdCYv9KLC2rlyp4SYsoGS2RLAfBDmsPJDIcTk47bQELosbJMgiOATBRpwx0Kptm5NJobiZJx7mrp5jjTK2O61Jinj880DuwtlFdZCWITRz7HyEteC4+EQLIa7VcCeKCCPnJFu5YAZ8X9vupEHrQvOFbhAfV28QKyfEWoLkG2/4gSUeU1IL25PLrue3jPoKn5Tf8deV3FxCDpPKg0YVJZXyAbj538Liqyk9a4qs6ij4EmolfecxBx++aw== X-YMail-OSG: FReMhIsVM1mo8YYQSFYEmS4I.FW1POhFEOo4IZitGIMZ1.gEggdPwCqV9C0JCJL ZK94sW4VSJMn0.ZFqZvQdFj0lldt9_WAGvUZGvFSW4A27ms7NQXT58HfbYCT8rIfbiywGFTGdfuQ e9vfTTQmikoyg_83hVOGyQN1v64UlZS1wnPfZvNyxnZ3KeuMgaD9R.32cWwaj381ps_yaJ_JeI73 QLADCgeKMf91hDIh4N6RkFf6Os_Ifwzwx1zACGPEaoyoVF9AxvQordQk8_Bzrrl__XiV4O6HJJ1z Q_f8AtsZBwMiSInI.oeFhErzc_.TTyHAscMgn735Zo_vozJ1RiXifGOpsxztMZK.ohYYNjuwYlu4 kGklQaCa73auGuUwk03efhPMRv1Uf3Nb19qeCxgePt77jtsDp0xIUPNnqLlvw5HChKSgKTqge3dn 2FmCFYjbLmr0my_cCooUHRANITMXy7PxkMP7jUxmwbyMW1BqM1dq9dI3SjlsWCeijkFZ427DDtSM tx7jjYK85Awva.4VtBQrBzXJzVj5h47EbiFi1qJ_5 Date: Sat, 9 Dec 2017 17:04:38 +0000 (UTC) From: Zenith432 To: Message-ID: <580761.1807684.1512839078048@mail.yahoo.com> MIME-Version: 1.0 References: <580761.1807684.1512839078048.ref@mail.yahoo.com> X-Mailer: WebService/1.1.11051 YahooMailBasic Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7 Subject: [edk2] [PATCH] MdeModulePkg: loose VA_COPY with no matching VA_END on a return path X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Zenith432 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" In CheckRemainingSpaceForConsistencyInternal, one of the return paths leave= s a loose VA_COPY with no matching VA_END. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zenith432 Reviewed-by: Star Zeng and pushed at a0460be7e8853964= 9cd10139491dd6955c54fb14. --- MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeMod= ulePkg/Universal/Variable/RuntimeDxe/Variable.c index f39be6b0..969df955 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c @@ -1765,6 +1765,7 @@ CheckRemainingSpaceForConsistencyInternal ( // // No enough space for Variable[Index]. // + VA_END (Args); return FALSE; } // --=20 2.14.3 (Apple Git-98) _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel