From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 8A0A21B855 for ; Wed, 31 Jan 2018 23:30:02 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B206620C9A; Wed, 31 Jan 2018 17:30:01 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 31 Jan 2018 17:30:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=jCBAOWQHMKV57P/FaFo1hm/8C2 Ot3dcA9ufy8S4av7k=; b=mbQ596tBBpEPkrIvf7mHkK59+ul2hVGp7ugf5bW/vW dALgQDoRkarQhWv7eNX/xPtBIRydMzYGil/c1X6NxY2CEzhQ8BiXBQD1WKp/dFIf yWzEby2BHi/m5gLqXgsZzDqct2orL7pqsw8T3d3jEffp7TMFmNMBPbz1kMTRs5z5 8= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jCBAOW QHMKV57P/FaFo1hm/8C2Ot3dcA9ufy8S4av7k=; b=Ox78xpYKwRB3B02w0gY95I CpqtBjPa++ViZF43pXvWMEdlwQbi8cu7FhQScaoW5r6Kd+yd6e1VZtMBafRrIGim j7Xo8Hau86mHx45va87bJ5yd3f50ZdirJHWzexLuTYT8h6yXwbSDShDa7XaoxF2v tspA/YKljJT/88l4wivNmBGKFrDl4J+AJqTHPEuBP7puIGH6Ozp/5kB1gOEmDJWp 3TMN9Nzmi2ueXbUBJ6I1HfI0ZXInWVrk86cxpRKB9TBd+ZiOppjJqy6ORd62s5qp eX0XQ8KEETLkumVh0WA9XJccrs2laIps9JdNACaLhcqQw4Lk51xbBjhOoSqFyvQA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CD67240B6; Wed, 31 Jan 2018 17:30:01 -0500 (EST) From: Thomas Monjalon To: Jasvinder Singh Cc: dev@dpdk.org, jingjing.wu@intel.com, john.mcnamara@intel.com Date: Wed, 31 Jan 2018 23:29:15 +0100 Message-ID: <5049146.xB6E0WlnJn@xps> In-Reply-To: <20180122154553.108360-1-jasvinder.singh@intel.com> References: <20180122154553.108360-1-jasvinder.singh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix dereference null return valiue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 22:30:02 -0000 22/01/2018 16:45, Jasvinder Singh: > Calloc() function might returns NULL due to insufficient space. Therefore, > check for handling memory allocation failure is added. > > Coverity issue: 257030 > Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding mode") > > Signed-off-by: Jasvinder Singh Applied, thanks