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 C30FDA0540 for ; Thu, 7 Jul 2022 09:59:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD3D042836; Thu, 7 Jul 2022 09:59:24 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id D307640DDE for ; Thu, 7 Jul 2022 09:59:22 +0200 (CEST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 76BC43F1F1 for ; Thu, 7 Jul 2022 07:59:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657180762; bh=9c1SOlUp3hPoCqvkZkllNjcFkTMf5osaMDjWs8GSABk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WBggZkam/RKrF8B3C1Rv/LuFdZ8th+u7VGxfUAxHfEzKmyV9hZ+dWP5SDUTzFPdyM 2NyGSw6NyVdByK3W5EML8+n8vVSBVQvFC+ZFIeFWjOm/erzjmiI2aN9/a78gYQKIMP CtFtJT1kQ2vMDB3djlwGCMOy5RIO2qKUYl8S2+PVbVPoHkt3mpJJaCIY5CRXOk7Gs+ TMj2fM7oeF2I5RNz1jycrjM5U8IHFFaO/l6vwDehlw5nhJSh30dulgyD71ivgHZos8 1MtSkwqPwrHrB4iMyDbp8uQz+Yd8wjeQR70ATLhntQVdDgQLa2TZiww91ztqjxRqPp B+hiJYfHLptUw== Received: by mail-ed1-f72.google.com with SMTP id z17-20020a05640235d100b0043762b1e1e3so13470683edc.21 for ; Thu, 07 Jul 2022 00:59:22 -0700 (PDT) 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=9c1SOlUp3hPoCqvkZkllNjcFkTMf5osaMDjWs8GSABk=; b=ZMjgET6gEJUhE8ONyHihi85G/GFZQWAFTG+sZLgYFMs3yo0S0BS7DWeCkjYDzMJs7J CZkkly1UAdgpL1fJ6ul/t9HDEJPxEyxnwrQToDpshY08HHIFU8GVDUNp6IMuV4PURiwT jgT8rCBb18jPfOfNFhUkuqphpSeHcxEFWfWYOf876ipBCeIk7yPuEHJ1Nn1d1ll7+VxP MApfFGQkO97HUTrYXbVlaT/51sxk7tbCic14eWkhYF7mgw3fguPOnyP8TEnn0Y2N+fKO yk/78CNsS9gQckvOOdIiKju8HkJSp/q15/LU3Xm0NjibA6uH2x+ZPuQinegrPDrgQ1KI olWg== X-Gm-Message-State: AJIora/EsM9TLNKWai7ppqhlfrUjuVybBw7Gz8LZTr3xshNXTnvfK8a9 7UZ6G00KqzX8QjYB0UM1YZZpScWvLQEWAwErbgNTxXnmNCvxXnKoVoD+Gd+Rth5rrFneH+eq0UU Ee7Dk1L3ZNS3lKV+hUP1w0A/D X-Received: by 2002:a17:907:87b0:b0:72a:a14e:106d with SMTP id qv48-20020a17090787b000b0072aa14e106dmr27827113ejc.167.1657180762247; Thu, 07 Jul 2022 00:59:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1st76SseSrufXXriEeSmlJuG0whIO13i3PlHxDMSwHyfOWxkBKGxtvKhGsHTZW3e4oTxSJGHA== X-Received: by 2002:a17:907:87b0:b0:72a:a14e:106d with SMTP id qv48-20020a17090787b000b0072aa14e106dmr27827093ejc.167.1657180762028; Thu, 07 Jul 2022 00:59:22 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:3a4f:7b00:c19b:938e:7c97:afe2]) by smtp.gmail.com with ESMTPSA id p27-20020a1709060ddb00b00722e559ee66sm18232090eji.62.2022.07.07.00.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:59:21 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Gowrishankar Muthukrishnan Cc: Fan Zhang , dpdk stable Subject: patch 'examples/fips_validation: handle empty payload' has been queued to stable release 19.11.13 Date: Thu, 7 Jul 2022 09:55:15 +0200 Message-Id: <20220707075522.194223-80-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707075522.194223-1-christian.ehrhardt@canonical.com> References: <20220707075522.194223-1-christian.ehrhardt@canonical.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 19.11.13 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/09/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/b5d8c94a0533303a7be6ce90d3c1433e47e73578 Thanks. Christian Ehrhardt --- >From b5d8c94a0533303a7be6ce90d3c1433e47e73578 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 701d87dc4d..0bed91a821 100644 --- a/examples/fips_validation/fips_validation.c +++ b/examples/fips_validation/fips_validation.c @@ -516,7 +516,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.37.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-07 09:54:14.455710835 +0200 +++ 0080-examples-fips_validation-handle-empty-payload.patch 2022-07-07 09:54:11.021824964 +0200 @@ -1 +1 @@ -From 0fab1428332bdfb213b51e068625d38419488646 Mon Sep 17 00:00:00 2001 +From b5d8c94a0533303a7be6ce90d3c1433e47e73578 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 701d87dc4d..0bed91a821 100644 @@ -22 +23 @@ -@@ -630,7 +630,7 @@ parse_uint8_hex_str(const char *key, char *src, struct fips_val *val) +@@ -516,7 +516,7 @@ parse_uint8_hex_str(const char *key, char *src, struct fips_val *val)