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 4F5FCA0524 for ; Tue, 13 Apr 2021 13:52:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 416D7160EAE; Tue, 13 Apr 2021 13:52:33 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id E48E6160EAE; Tue, 13 Apr 2021 13:52:31 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 5DFBC12FA; Tue, 13 Apr 2021 07:52:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 13 Apr 2021 07:52:30 -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=fm3; bh= LL9yeuMxO19W2Tbfd9J+BR/ah7ppE0DM5/leb48P68k=; b=JReOozTpE6SywHTh WnDnsmT/jjrHCPYmoMgLfVxj77bFwrhvkZGAPfEH5mWbpU/5U+HDVPLia89kTx4D TIeTaw49nxKI2bYh2d1w458j8r2PPIYOeunHSWvdvCv0K8kc+y6vWpf9Kh+CbHHd iarIc3Z+jqot8QV2GhWCicCQhTZAtjrjuAj9qBS4ePWk+eX8EJIXdYLqZ7GyKkmz 3Zm5CWrkJRADSpGJ3QXR8+NiJEaQzCKUTRtHB53LXjGLSH8/ICsg3NllzJ+z9mGi z4N1JfDiN42VSfFXUNziiUCJ4mYieyp1l5oj1+krkIDNDj6hVngiHg5Q77JZjWpt RU3/UA== 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=fm2; bh=LL9yeuMxO19W2Tbfd9J+BR/ah7ppE0DM5/leb48P6 8k=; b=Ky39l7gIxStDVic0agzQz4iucPGQWSx14owO62npNRb0QCfexGCjPwLR/ nv09kIjSPm4qopjIy1b04HxOPSvQ+a31Kt92zzgGGxBdhIoOfwLWxztRUm9futGT IwGwX9L4mIODjLcs+dEZdVsc1Eh0khaMOb7ImwYAI7wXMcw+37RIsUqlaJ0w8bgf xmSjDtV+V4WpVrktNYZeRmC1cZuCCouyY1nRHLisP1QASDmElaRw+PAYpaSHWnab I/GiCTREmpuDt43EEde371mwZnELTyETSuU4GLYfidynpHaWIsZAXudGb5kC6h/G tVndZUQCy5/f2yHy6pTWQsG3YQz4A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudekledggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfggfgtgesthfure dttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedugefgvdefudfftdefge elgffhueekgfffhfeujedtteeutdejueeiiedvffegheenucfkphepjeejrddufeegrddv tdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 6CAC624005C; Tue, 13 Apr 2021 07:52:28 -0400 (EDT) From: Thomas Monjalon To: Wenwu Ma Cc: olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru, stable@dpdk.org, dev@dpdk.org, aconole@redhat.com Date: Tue, 13 Apr 2021 13:52:26 +0200 Message-ID: <2483269.apo0RDFAAg@thomas> In-Reply-To: <20210413200513.330399-1-wenwux.ma@intel.com> References: <20210331210557.4919-1-wenwux.ma@intel.com> <20210413200513.330399-1-wenwux.ma@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [v2] test/mempool: fix heap buffer overflow 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" 13/04/2021 22:05, Wenwu Ma: > Amount of allocated memory was not enough for mempool > which cause buffer overflow when access fields of mempool > private structure in the rte_pktmbuf_priv_size function. Was it causing the test to fail? How do you reproduce the overflow? > Fixes: 923ceaeac140 ("test/mempool: add unit test cases") > Cc: stable@dpdk.org > > Signed-off-by: Wenwu Ma