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 8127443B86 for ; Tue, 5 Mar 2024 10:51:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C78142DB6; Tue, 5 Mar 2024 10:51:17 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2042.outbound.protection.outlook.com [40.107.101.42]) by mails.dpdk.org (Postfix) with ESMTP id 9A5A14014F for ; Tue, 5 Mar 2024 10:51:16 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oGp8eM6Ong6nnXHkKIHJJV/C+C/euM2TVNKvn8Idok5kOdWU+xpndtQYidtkO9pknMrzFWWPAJEtB+kBI4E9wx/+X/YJpoeZ6cbKmUKtDkUZ+vL/ICVO6OPl18KbKgHcFLFAxFh+PnuKBiHfn6qA2Ld45aivMFGt2T9sGYtVoXpgE1yAD1GqyZQ9D3+adC3C7nT2Pm1ypfNtPppZyCShCFlZtDtsJXHTFzd4VgSOgNweAfF2uI290r31dtYjoxGI5hnbnAXJhYgxNTG7JSjK7EsnIGyHjYNibtJhi5UdRN1ednNYqfUITWt6QfZVhrbznK03MPSSO2AtflYcOcssbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K3MWRm2ihBYFKBlw1l28mMfTeSE4TitKLbWj90lXdf8=; b=iPQOysABHb1Hr4/QM7btbi+TvSnhrfVEQodO5ptfvM824sp4dABaIXJbVcF6bSPgytJO3uEz6SY9sJd49kTdwLiJWiNqj9B7kw0GYVeyE/KN6y6ezKdw79MASTKRvrtekmZdz3FDQNZD0IvnMUsXmDlucHz9Xn24lP1SEkh3lznYnDTS5gTsegSh7syU9sDTvd6Ak/hOySDuOWiFOkjKFqsM+QJYbhS9dCTkpqKBGqA9XewpoKIQA57mYIJgP2zQF5k2xCiyGPRWwT9t1TOVrIQvIbsW4nzGZT8ebd7P0Z+1+O4Mq8giX/5IDXTFufB7l+e4jGEVfnfmEBZkwd6LjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=huawei.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K3MWRm2ihBYFKBlw1l28mMfTeSE4TitKLbWj90lXdf8=; b=k0gJSp9qB9c55a3Bw6Xl6EoSIrNqjMENQVEp6snxW4/POocFrepzHdpPvqm7SXKk71S9WoXJKuVMunlqg3Wu+GjIqAWgUVEjlMJF60rEzJAp30XyOXSa7ukm5fqLMaUuuuNsEyaZOB1nhreCGKYWUxYbh3gFiv9yOIJ1D2Ebnfmjm0Eg6QiBPdTg7TE25TWL7bh02+sced5CI9n/3gncd8IIkg7ovnxDpjhoseMNzV2dnA2b7xf4QRgT1T/u1ZZ/bAMsTbo9ZDuhQqTMdHHU8PoWxarEtw91hvMAmlaDOf7I8V4seb8W6RGkjOPuEZsUySKXQbEHtpc/gy3odQ/loA== Received: from PH7PR17CA0007.namprd17.prod.outlook.com (2603:10b6:510:324::18) by MW6PR12MB8866.namprd12.prod.outlook.com (2603:10b6:303:24c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Tue, 5 Mar 2024 09:51:14 +0000 Received: from SN1PEPF0002BA4F.namprd03.prod.outlook.com (2603:10b6:510:324:cafe::67) by PH7PR17CA0007.outlook.office365.com (2603:10b6:510:324::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Tue, 5 Mar 2024 09:51:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SN1PEPF0002BA4F.mail.protection.outlook.com (10.167.242.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 09:51:13 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 5 Mar 2024 01:50:57 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Tue, 5 Mar 2024 01:50:56 -0800 From: Xueming Li To: Chengwen Feng CC: dpdk stable Subject: patch 'event/cnxk: verify strdup return' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:46:12 +0800 Message-ID: <20240305094757.439387-32-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305094757.439387-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002BA4F:EE_|MW6PR12MB8866:EE_ X-MS-Office365-Filtering-Correlation-Id: 4757b797-8205-468c-58cb-08dc3cf9cb97 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XmCY2+d2YwJBGloRns0BhTLp5x1UKZtwWn7bXImvSk6SzCu8zt8z4K5Hfs9l/SOiIwPv6nidblS79CVmyD4bIGwm6MoNnUDe02Pq/iAufYf2tJ2Nq6bLN15IQVduRuqHu6+uQ+W7BblUEHDyN+5jbIR4vyVcNjuRhjeOZT1GJGqinNBFpAOll6LvtGVYaSQxO0fobGgtgIynr/PTrQIIS7/IhxDjcee/vjvxq0DxESy1IujDmeCKxk/6imSU7iW4Mnxqu73ED+IHixKIjXjM3aeKXAUe00NrnAzm+uTiPt6cPgA8LHN8z40YhJiAOoD4xudH+g1wiltubghGpwj5UiwUws1k7ws4P/Y5MT0GmnGS58uFXjLtBQlHVqgmNBFKyQ9kCDCH+Z6u4JP18mVhqaHaMZ0bXKxGpAwGvI7xVxcRRZz+s/HPLv1Ts5/CdZFy4UkpOVhs6FL6HEwQtmCkjuHO4Q0CNSapqEbdz+TdbYyr4NmbeUJV1MRbBfhOTLl6y5JE7EGV1AZfd2JcrNAXKLt05yuNv3Y3tsqzj0nwN7NT+axH7N1LxlPE5d5GG4IZn65smcccn53u/M9j+tPDDecTj7l4EQRG/YP9cn/wvXXYXp0bmxa/TKsxZIbk/GSd+TGnZnwGgmq203qH+M6shRhoIG/XRs2rmLX3gyGE2lWI991AyNvL45MeD2xjU3+uwWubmftYY7vVQcYLs9Sd2aBJPssaLtUYKjbIW2stjT8Yb9F3UnBIs3wMCCT/YgJw X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(376005)(36860700004)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 09:51:13.8578 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4757b797-8205-468c-58cb-08dc3cf9cb97 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002BA4F.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8866 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 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/31/24. 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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=cedf721f24a038780f06375573dc53c3f65ea5a8 Thanks. Xueming Li --- >From cedf721f24a038780f06375573dc53c3f65ea5a8 Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Fri, 10 Nov 2023 10:01:07 +0000 Subject: [PATCH] event/cnxk: verify strdup return Cc: Xueming Li [ upstream commit b4b3a7037b2cab4dc5d004ed0fb9ec1e5911334e ] Add verify strdup return value logic. Fixes: 38c2e3240ba8 ("event/cnxk: add option to control SSO HWGRP QoS") Signed-off-by: Chengwen Feng --- drivers/event/cnxk/cnxk_eventdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/event/cnxk/cnxk_eventdev.c b/drivers/event/cnxk/cnxk_eventdev.c index 0c61f4c20e..1ec281e735 100644 --- a/drivers/event/cnxk/cnxk_eventdev.c +++ b/drivers/event/cnxk/cnxk_eventdev.c @@ -553,6 +553,9 @@ parse_list(const char *value, void *opaque, param_parse_t fn) char *end = NULL; char *f = s; + if (s == NULL) + return; + while (*s) { if (*s == '[') start = s; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:31.992995734 +0800 +++ 0031-event-cnxk-verify-strdup-return.patch 2024-03-05 17:39:30.713566491 +0800 @@ -1 +1 @@ -From b4b3a7037b2cab4dc5d004ed0fb9ec1e5911334e Mon Sep 17 00:00:00 2001 +From cedf721f24a038780f06375573dc53c3f65ea5a8 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit b4b3a7037b2cab4dc5d004ed0fb9ec1e5911334e ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org