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 BA1E6A0C4F for ; Thu, 22 Jul 2021 14:49:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A65B740E50; Thu, 22 Jul 2021 14:49:59 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id CAB8840040; Thu, 22 Jul 2021 14:49:57 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 50DA35C0139; Thu, 22 Jul 2021 08:49:55 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 22 Jul 2021 08:49:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= PAXO3SOsRdAfwjxplHBM07yhJwKQjFyykJf43LYh97s=; b=KdpbeH9VrTa8hCNE tV/+sd6fxdzUPsMfdXTix+SNiEnRBmosjvIOrP4KJeFwToSC3aZ5rk4wvsWc/Tet 34/WQJvJy4lmhyxilEUefO5mdZMxKCKyuq0CQZhW1ouzONVUUWj6idL0cBDAyxBu TOIT/WFJSW7d0/zPnNAmxQ4WKEx5/D7UgNg7dJ++dsC4GxdALfHQW3Gpv1dAZPzv 6yERsRiNPcJwrcj3sjDhtPWJ6UvecAPkkHWIM/D03piWlTij/EGUcxTzfyniEmNj s5aIRRu/HmgIYOBXYbvo+EzWtqAomdIMMJlpvWAqRAm/fstobjvLG88WxV5SWe8Y rMwBsg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=PAXO3SOsRdAfwjxplHBM07yhJwKQjFyykJf43LYh9 7s=; b=VRlLQUZGR4fQ6i+ctUkuVtiAa5HJ+T6bl9kdDOXDnGrcww8b7xP8iXeV5 jICnOXaXCH2K9jPWoqy6ksHPvVUpKphqOvUS6b++AMKTgqYITufz4sd0dXuN5yaW vvzAjJvXsZeXhYhdpy04TfyLB9N6R8cKaBIcrLn6Q2fBILark8HZ6fHDqBgnP/IA WGFoh607V422hrootB7woBZCfv1mKEretF3/pU1rG5VBFzT2DyWEoIeAdYT/65oR JMDUv28MUaV+Z5ryF8i0JLbyrVyePJYlIyjugcF8SWkrIWGFlwJN+o1EomrcV6wH eghmjLGbUgRgVD7gAKTTVYeMmWqog== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeigdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 08:49:54 -0400 (EDT) From: Thomas Monjalon To: Michael Baum Cc: dev@dpdk.org, Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko , stable@dpdk.org Date: Thu, 22 Jul 2021 14:50:11 +0200 Message-ID: <11791547.XTqDWjJKdY@thomas> In-Reply-To: <20210701063916.2016763-1-michaelba@nvidia.com> References: <20210601071122.1612432-1-michaelba@nvidia.com> <20210701063916.2016763-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2 1/4] regex/mlx5: fix size of setup constants 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 Sender: "stable" 01/07/2021 08:39, Michael Baum: > The constant representing the size of the metadata is defined as a > unsigned int variable with 32-bit. > Similarly the constant representing the maximal output is also defined > as a unsigned int variable with 32-bit. > > There is potentially overflowing expression when those constants are > evaluated using 32-bit arithmetic, and then used in a context that > expects an expression of type size_t that might be 64 bit. > > Change the size of the above constants to size_t. > > Fixes: 30d604bb1504 ("regex/mlx5: fix type of setup constants") > Cc: stable@dpdk.org > > Signed-off-by: Michael Baum > Acked-by: Matan Azrad Series applied, thanks.