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 BB0F8A0560; Sun, 26 Jun 2022 19:48:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5471541141; Sun, 26 Jun 2022 19:48:27 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 45E7A40E50 for ; Sun, 26 Jun 2022 19:48:26 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4E9B5320047A; Sun, 26 Jun 2022 13:48:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 26 Jun 2022 13:48:25 -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=1656265703; x= 1656352103; bh=h7eeY2E37FGsB/zmt6+ih6mchTo4U+vopp+IGia8FzY=; b=l DORKMKoeag9mZLY3cc0+bulA70owH8klbXEM3JFRMtocdTuc/Vl3x73MLIiW9PWY hwujoJkvbO4j30+3ri+69WDGltBBNlojlY6FSrhT8tcbC70NaD04YK+621s7A8p6 0jHOg9Hqqaq9znBIlpRoq0u2i8A7l2yl5+hUMekdpiGXeZJAv8SauEIZ/LMdIwK9 7dN7OTLuY9vheo5TCWaSMIz3WoSK6V+mXc+/0ebLnSxVQ/g4sckOASk1FjtFwoqW E9CobOHhjL0Oe6RKXukOJMQ3SqfIXoYfdWWCBXAU8+St7Bi+zXZuHJ8h2Na2zB7/ q++eHqs4GgW6Q31xBYzoQ== 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=1656265703; x= 1656352103; bh=h7eeY2E37FGsB/zmt6+ih6mchTo4U+vopp+IGia8FzY=; b=P 8R3oABzv7elYjRaBAanztiFeDLQIhECgvcXgl9oFtZInaw0ezeZuL/35TU48IjQp k8tygucyNIV0cFaSr5bEZ35KxkcGa8RFS8fd/QI/lKDeZ4d0Dp54SaYNkK1mM4OL AhnrEvyUpenvmY9B0/IbvYiK8TGUVwg6ONU9eejjlTCOlPY7bg4iQa6nSCkIMlPX VrYuAGh4UpnPTrlGw4r6sBx3pVuu/JtLThMm5CiC0/e1Ox5fd/iOkn92kCVKmgT0 wbQIGNF6XD2kfzQz8fJt87YMTbPCAE51EhVm/PesRbVlY4QMlCPcxQUsPufvmoGM gpVj3+L7w66WPNZ6QhXYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegfedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Jun 2022 13:48:22 -0400 (EDT) From: Thomas Monjalon To: "Min Hu (Connor)" Cc: dev@dpdk.org, ferruh.yigit@intel.com, cristian.dumitrescu@intel.com, jerinj@marvell.com, jianjay.zhou@huawei.com, jia.guo@intel.com, g.singh@nxp.com, andrew.rybchenko@oktetlabs.ru, hemant.agrawal@nxp.com, orika@nvidia.com Subject: Re: [dpdk-dev] [PATCH 05/10] app/test: add null pointer check of memory allocation Date: Sun, 26 Jun 2022 19:48:20 +0200 Message-ID: <6581870.tWeucmBOSa@thomas> In-Reply-To: <1618839289-33224-6-git-send-email-humin29@huawei.com> References: <1618839289-33224-1-git-send-email-humin29@huawei.com> <1618839289-33224-6-git-send-email-humin29@huawei.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 19/04/2021 15:34, Min Hu (Connor): > From: HongBo Zheng > > The rte_zmalloc is called in test_crc_calc without null pointer > check. This patch adds null pointer checks on return value of > rte_zmalloc. > > Fixes: 9c77b848b1c1 ("test: add CRC computation") > Cc: stable@dpdk.org > > Signed-off-by: HongBo Zheng > Signed-off-by: Min Hu (Connor) Applied only this patch, thanks.