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 2E89EA055E; Sun, 26 Jun 2022 17:04:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B574441144; Sun, 26 Jun 2022 17:04:00 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id 7D67D41141; Sun, 26 Jun 2022 17:03:58 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 58E5132007F1; Sun, 26 Jun 2022 11:03:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 26 Jun 2022 11:03:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1656255833; x= 1656342233; bh=t9VXb4OJHaAYChT/zi8xpPO3MJrE9U95Tnkzv9EHYcw=; b=C E0eLfNY8yXsqVQ6sTzhgeA/o2yUJOGohzh13eIntF0rZ5EkPreU9xqOC/JHPM4A2 tFHutNxzzf3shh0Pgy2/zmxF6iOxoXFdZSZ7TfbqMZc6G1zmQELG/eWiBtmxqtrt OInY9zQBD5NTaMv0ukvCuwh9RuXw/CoTTjdrrrzlrN3hmP/3fbkTULK5HEdKGm72 tFss87Qu+aoStginz/mRBKBGkKhUu+wC2QU9TZn9wim0jdKh5G6t0lbuPHLdXoLq q3e4xEkibdUeEzac8TYpVyroEqQI0C+VPrSLTggapv+Ww23BO8+bKv922lBwG5Ll ueOoDYHykCzyntUboS2iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656255833; x= 1656342233; bh=t9VXb4OJHaAYChT/zi8xpPO3MJrE9U95Tnkzv9EHYcw=; b=J KT5LZsc/Rbe/HdKf+8VZIRK+upVMrDwi39AYWpE7TiENdIkyN6T8m2Sl6SswtO0Z OHC3/3E5sFhmwfzdx4ryoNHea5aiRvKVel6PR1hWNT0RRZ4kLp/DhjNyBd5jylut qnt6/ecQf/v/4W+BwHxCm3vxAdfYeaneq5/NUH+w8X4xNfe4x8fSjee+kkSPhZSh +Acw/fe9f9IPS6mRHkaRbY2GnqjLuvS8GIoLssEkXo83dCj9A0ZcSn02UgL4hpc6 x0ud6430YzQPYa0RblhMqv7erRwAFf3/iiaxaPEiGNNzkGE+rQMD1fpUFmYaEwXu EOjrbAWm6TDQwnVW+zCWQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegfedgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Jun 2022 11:03:52 -0400 (EDT) From: Thomas Monjalon To: Heinrich Schuchardt Cc: dev@dpdk.org, Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin , Gavin Hu , Dharmik Thakkar , Honnappa Nagarahalli , stable@dpdk.org Subject: Re: [PATCH] test/hash: avoid out of bound access Date: Sun, 26 Jun 2022 17:03:50 +0200 Message-ID: <13950313.ZYm5mLc6kN@thomas> In-Reply-To: <20220604083711.64199-1-heinrich.schuchardt@canonical.com> References: <20220604083711.64199-1-heinrich.schuchardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 04/06/2022 10:37, Heinrich Schuchardt: > rwc_non_lf_results->multi_rw, rwc_lf_results->multi_rw, and > rwc_perf_results->multi_rw are accessed at indexes > [0..NUM_TEST-1][0..1][0..NUMTEST-1]. Currently the first index > overflows the array size in struct rwc_perf. > > Fixes: c7eb0972e74b ("test/test/test_hash_readwrite_lf.c") > Cc: Dharmik Thakkar > Cc: stable@dpdk.org > Signed-off-by: Heinrich Schuchardt Applied, thanks.