{"id":2198281,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2198281/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260219184400.257008-1-vincent.stehle@arm.com>","date":"2026-02-19T18:43:55","name":"[0/5] efi_selftest: manageprotocols fixes and enhancements","submitter":{"id":77169,"url":"http://patchwork.ozlabs.org/api/1.0/people/77169/?format=json","name":"Vincent Stehlé","email":"vincent.stehle@arm.com"},"series":[{"id":492712,"url":"http://patchwork.ozlabs.org/api/1.0/series/492712/?format=json","date":"2026-02-19T18:43:55","name":"efi_selftest: manageprotocols fixes and enhancements","version":1,"mbox":"http://patchwork.ozlabs.org/series/492712/mbox/"}],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=arm.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=arm.com","phobos.denx.de;\n spf=pass smtp.mailfrom=vincent.stehle@arm.com"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fH2NW70thz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Feb 2026 05:44:27 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 60F0683D2E;\n\tThu, 19 Feb 2026 19:44:24 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id 971B883AC5; Thu, 19 Feb 2026 19:44:22 +0100 (CET)","from foss.arm.com (foss.arm.com [217.140.110.172])\n by phobos.denx.de (Postfix) with ESMTP id 765B583AC5\n for <u-boot@lists.denx.de>; Thu, 19 Feb 2026 19:44:20 +0100 (CET)","from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6642C339;\n Thu, 19 Feb 2026 10:44:13 -0800 (PST)","from debian (unknown [10.57.12.78])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 872403F62B;\n Thu, 19 Feb 2026 10:44:18 -0800 (PST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","From":"=?utf-8?q?Vincent_Stehl=C3=A9?= <vincent.stehle@arm.com>","To":"u-boot@lists.denx.de","Cc":"=?utf-8?q?Vincent_Stehl=C3=A9?= <vincent.stehle@arm.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>, Tom Rini <trini@konsulko.com>","Subject":"[PATCH 0/5] efi_selftest: manageprotocols fixes and enhancements","Date":"Thu, 19 Feb 2026 19:43:55 +0100","Message-ID":"<20260219184400.257008-1-vincent.stehle@arm.com>","X-Mailer":"git-send-email 2.51.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"Hi,\n\nThis patch series contains fixes and enhancements for the UEFI Protocols\nmanagement test. It is broken down in small steps to ease review; feel free\nto squash and/or cherry-pick.\n\nIt is possible to verify with valgrind that the first couple of fixes in\nthis series do indeed remove invalid writes, with the following steps:\n\n1. Modify the efi_allocate_pool() and efi_free_pool() functions to call\n   malloc() and free() respectively.\n\n2. Build U-Boot with sandbox_defconfig and CONFIG_VALGRIND=y.\n3. Run the following command:\n\n  $ valgrind --suppressions=scripts/u-boot.supp \\\n      ./u-boot -T -c \"setenv efi_selftest manage protocols; \\\n                      bootefi selftest\"\n\nBest regards,\nVincent.\n\n\nVincent Stehlé (5):\n  efi_selftest: fix buffer overflow\n  efi_selftest: fix buffer overflow and memory leak\n  efi_selftest: remove unnecessary initializations\n  efi_selftest: fix buffer size and count computations\n  efi_selftest: cosmetic: fix spelling in comments\n\n .../efi_selftest_manageprotocols.c            | 28 ++++++++++---------\n 1 file changed, 15 insertions(+), 13 deletions(-)"}