From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1EE3FA0540 for ; Wed, 6 Jul 2022 22:35:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 198ED40A89; Wed, 6 Jul 2022 22:35:24 +0200 (CEST) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mails.dpdk.org (Postfix) with ESMTP id 61AB840691 for ; Wed, 6 Jul 2022 22:35:22 +0200 (CEST) Received: by mail-wr1-f41.google.com with SMTP id q9so23595362wrd.8 for ; Wed, 06 Jul 2022 13:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ELFxCJOuVpE8PuH4ieq/WFQ6hvw74COGpBB0b9DHyIQ=; b=Jbnkzis7Agzv7P9E0GZVv/gECyPC2ou83XRU7Arkix8m8GHR4OkAxyZ0v8yhRlzLNk KhwjwP1nIRNhnaL5p8tDbSeXv2p2KKtbj/yY/dNjsy1Z/S8n/haSvzYYs15YYyj8INi3 A7NqxOWFaYCL9C+CYp6THU3DM5Q/PZ9o2edQI18bItWD4ryDchRiBOTMk9qoDBfB6qVY rWJNDq50BjJoV+IaDiHkHh1ebvJJDgTBjcNvHHykDG+wqNxfzt3sYikHZdt5TvHf1SHv T1QHpmjk3oCpkeupOcq0C7fnlCVdnYwjIvxIvveFqh25FpSgPQY9+IJmcqUgIIxp7F2M 48Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ELFxCJOuVpE8PuH4ieq/WFQ6hvw74COGpBB0b9DHyIQ=; b=ka3ymwr++fvdO6feUaN1D0WalWBTtx1PfOsemR+SApy73RpXYij2oKvQlLmFtpkKAS V1jGvtcJodi+okPIjmyMSLRUbXZzhU3NZRR9Ev+AJdycGKX+XOj+EaQfLT42EI+7FYvK 0cAVbjQDPxp+o5lFnI7KesqqdKPyIPgAuxMm6u2DZ6HI3wiJYXKQNE2TT+Uw6HXK9MeT 4Zt/Oi7A+osZBLBkDQ2T5uc5onA6EFgvlO5aPgosARAPvwnS75TfWHav7Jj/8K6NaySV L/Kiq7mGqEpZZCpQRIIcNsNkdHsrpDEpCbve5Hsm7j96MIX+07RDgFZJ1yWb9c9En0RO oSbg== X-Gm-Message-State: AJIora9Rfk2zauWNoU4jwA/7ngGBcBghiI3YZ+F9xQNISeaDAuQX7f+l 84zREyV+tsvnLjnwRSwEhVvIRvSOhJEomw== X-Google-Smtp-Source: AGRyM1sQaTQHuSVTxZHDmfRTuKhiKtOhllHi7dB1qyUoZ6XtBK6TPzkVrR5jIq7EwioTdbn7SyQn+Q== X-Received: by 2002:a05:6000:15ca:b0:21b:baca:5902 with SMTP id y10-20020a05600015ca00b0021bbaca5902mr40213531wry.294.1657139722093; Wed, 06 Jul 2022 13:35:22 -0700 (PDT) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id bn24-20020a056000061800b0020fe35aec4bsm35863176wrb.70.2022.07.06.13.35.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 13:35:21 -0700 (PDT) From: luca.boccassi@gmail.com To: Gowrishankar Muthukrishnan Cc: Fan Zhang , dpdk stable Subject: patch 'examples/fips_validation: handle empty payload' has been queued to stable release 21.11.2 Date: Wed, 6 Jul 2022 21:34:39 +0100 Message-Id: <20220706203506.3422496-4-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220706203506.3422496-1-luca.boccassi@gmail.com> References: <20220628151938.2278711-26-ktraynor@redhat.com> <20220706203506.3422496-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 21.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/08/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/f2a62f854ed397d37710255a3e8d137a3e514f67 Thanks. Luca Boccassi --- >From f2a62f854ed397d37710255a3e8d137a3e514f67 Mon Sep 17 00:00:00 2001 From: Gowrishankar Muthukrishnan Date: Tue, 28 Jun 2022 18:41:09 +0530 Subject: [PATCH] examples/fips_validation: handle empty payload [ upstream commit 0fab1428332bdfb213b51e068625d38419488646 ] Allocate at least onebyte to handle empty payload in a test vector when defined. Fixes: 3d0fad56b74 ("examples/fips_validation: add crypto FIPS application") Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Fan Zhang --- examples/fips_validation/fips_validation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fips_validation/fips_validation.c b/examples/fips_validation/fips_validation.c index 52a7bf952d..511c176a2a 100644 --- a/examples/fips_validation/fips_validation.c +++ b/examples/fips_validation/fips_validation.c @@ -522,7 +522,7 @@ parse_uint8_hex_str(const char *key, char *src, struct fips_val *val) val->val = NULL; } - val->val = rte_zmalloc(NULL, len, 0); + val->val = rte_zmalloc(NULL, len + 1, 0); if (!val->val) return -ENOMEM; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-06 21:07:53.714139949 +0100 +++ 0004-examples-fips_validation-handle-empty-payload.patch 2022-07-06 21:07:53.523518323 +0100 @@ -1 +1 @@ -From 0fab1428332bdfb213b51e068625d38419488646 Mon Sep 17 00:00:00 2001 +From f2a62f854ed397d37710255a3e8d137a3e514f67 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 0fab1428332bdfb213b51e068625d38419488646 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 94e31abf83..324abccb14 100644 +index 52a7bf952d..511c176a2a 100644 @@ -22 +23 @@ -@@ -630,7 +630,7 @@ parse_uint8_hex_str(const char *key, char *src, struct fips_val *val) +@@ -522,7 +522,7 @@ parse_uint8_hex_str(const char *key, char *src, struct fips_val *val)