| Message ID | 20251120025614.2215587-4-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1763607402; bh=GghWEHPtRK33qUgaNmF8sXPDS8fkzEhrjzs9iGzTLGw=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=REYlpZNJM3b1nnyZok7U0araOlK7EiU1AecRfcLBe24KXszkZJYB3aNWvkxL/y61K tJaOTks4yYPcpksZGCgq5jFL9gQgpNm9G7A3tGTId8FPc+KVRlddXyhxjzo9qIj/PL fpZeKqYW2WbarcTSuHSqsh932Suvz43ipK6f7TCeHMQW3CXlUqMJtYEwESPonkzegF Zcq0y+m/Wx49FUrFaXeWL04boMVKzlYucfj19i24KFvTL0hFL37WNUeoN2Atv14zs/ 3vf1cs7SBCYWnKr6d70wfAnkt93ipFUkwWkLYu6g4bbPjn09tQNPyEpky9AnYeWV5l mqMex2Ol6yQsw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9BABC686C9 for <u-boot-concept@u-boot.org>; Wed, 19 Nov 2025 19:56:42 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id YeU8lc9ZqYAQ for <u-boot-concept@u-boot.org>; Wed, 19 Nov 2025 19:56:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1763607402; bh=GghWEHPtRK33qUgaNmF8sXPDS8fkzEhrjzs9iGzTLGw=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=REYlpZNJM3b1nnyZok7U0araOlK7EiU1AecRfcLBe24KXszkZJYB3aNWvkxL/y61K tJaOTks4yYPcpksZGCgq5jFL9gQgpNm9G7A3tGTId8FPc+KVRlddXyhxjzo9qIj/PL fpZeKqYW2WbarcTSuHSqsh932Suvz43ipK6f7TCeHMQW3CXlUqMJtYEwESPonkzegF Zcq0y+m/Wx49FUrFaXeWL04boMVKzlYucfj19i24KFvTL0hFL37WNUeoN2Atv14zs/ 3vf1cs7SBCYWnKr6d70wfAnkt93ipFUkwWkLYu6g4bbPjn09tQNPyEpky9AnYeWV5l mqMex2Ol6yQsw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 87207686BB for <u-boot-concept@u-boot.org>; Wed, 19 Nov 2025 19:56:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1763607400; bh=uuWV8+8iiFr2RZL2hwvLs0NP2HFkmpiljWtndFxa4KE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i500rgnOa97UjsfGlWXlLDGgFII8KHErTzMTm+73kx1Fv0XUw7ASDz71Zjnf1V8S5 4CRBoR6D6XFUjUxRnaDs2vXzUWK7GZG22rjWb6hAgYrVPam5PUsywqttPJlXDmSOC1 AJP+ThK5aXght1U5g3LaCYqXIqpsa2salNpMdAm1Lux52fHOgzWgGz8BhRKO51zLRu b1HYvFbucojVsFGi2a1O09Pldt5e1LlGNMjbsStjZoUgrN2hgJvT1MKgp+IKTIrFUm uKt4hjEI1B0y7OvjPAI86lgYgTUjzdi9iu35VvQ1THuyxt4VgnU1xeFkChQyS+79BH 6IjojDF34Ypaw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6B9F468654; Wed, 19 Nov 2025 19:56:40 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 8sAbFyYc_dwf; Wed, 19 Nov 2025 19:56:40 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1763607394; bh=RfJIQYUMAH/gOCRNrqD5Qyni69mgefQLNk1y/SINQL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HYik5h82RCBGJ6onHgrBdswwvCfuo/ecfH36sV2Ws0h4EgjKn9tkbEhbVTVG47NZq hqni71nnYoAqUUUwW4qYaQ8f0HNDgTwFACV7wjgrnc8rmM4rqqoqRSB8fw1E8z2BqQ L2Sv8P4QYnptzr4cxjQdlLkqc5pI9HfxQyCZNSmsztngR2aM4dXu9R4ZBb3tXE5D7T q1cgau2i7avo5/OTaVXGuo31wizkUNVrD6hbDF1MxVVoYeTZGJX1kAzB5EwCoHMTWN +G2G++UxI7kV1xBGypICB3i+lDWQnYwWv+lL4tfAFHpnOJRaIxaa6Ut9DzhNv/FSj2 msPDcVRk+Baqw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 6BE9F5E7DA; Wed, 19 Nov 2025 19:56:34 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 19 Nov 2025 19:55:38 -0700 Message-ID: <20251120025614.2215587-4-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251120025614.2215587-1-sjg@u-boot.org> References: <20251120025614.2215587-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: G3O77L7D4GCFSWFHE2C6V4ACPDYEHLMZ X-Message-ID-Hash: G3O77L7D4GCFSWFHE2C6V4ACPDYEHLMZ X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <simon.glass@canonical.com>, Claude <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 03/30] test: Increase expect_str/actual_str buffer size List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/G3O77L7D4GCFSWFHE2C6V4ACPDYEHLMZ/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
fit: Improve and test the code to print FIT info
|
|
Commit Message
Simon Glass
Nov. 20, 2025, 2:55 a.m. UTC
From: Simon Glass <simon.glass@canonical.com> These buffers can be exceeded when checking the FIT output with an RSA key. Increase the limit to 1K. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- include/test/test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/test/test.h b/include/test/test.h index 51609e799b7..f2d956e913c 100644 --- a/include/test/test.h +++ b/include/test/test.h @@ -78,8 +78,8 @@ struct unit_test_state { bool force_run; void *old_bloblist; bool soft_fail; - char expect_str[512]; - char actual_str[512]; + char expect_str[1024]; + char actual_str[1024]; }; /* Test flags for each test */