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 B98A51B855 for ; Wed, 31 Jan 2018 23:28:14 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 71ED520A91; Wed, 31 Jan 2018 17:28:14 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 31 Jan 2018 17:28:14 -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=ApVstAKfK9odO2lcdezRHZ3oZN Fod1yqY6EUQ/4GExU=; b=CKV0AJf1DtHnlKZbVYoVHJahlPVgpUXLCHbGpqB0tj byI8i/NVdtSjLSPDgNnuuJvbPf3FLrASM2nOuvw5IGuk6dtNztkuFC1m4oIyNLpz /Rv9UaSLVkFLWz6P4on0hBn8ibE7zOATzE1PGesmx20kVgEVYuKmsIqjDIaU00PS Q= 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=ApVstA KfK9odO2lcdezRHZ3oZNFod1yqY6EUQ/4GExU=; b=ih2bIgfzOwtXu2EcEuSNfB TIdgaLZzp3u+jUkfisso3QtiQpOIsieo3PNtc4/+Jjr8pbEUA6Cyy4FL5ybev24Y qM2ZtxFCkblt9rV1emnBKV1dks1zYQkjsGVvxkbE5tAonQ1q2jZm/O6dNfjqX3zR Wb7LztBaqgKo596+px1NlKlHUswT6mqoBPvSb8M2wvUohq9wEzTS95GC8E2FNS/P jFs1OfQs9yb4ee5YsXlRsgRYkagSNJBajkIA8rgX+y03OX7+ZCRxlegYQekzn0mo RRYyjEkl4SvvduODCeU0WJSgFxSVm5t3pvCOeIjp164GtxEFBg6c2Z98RY76tctg == 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 290257E3D5; Wed, 31 Jan 2018 17:28:14 -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:27:27 +0100 Message-ID: <1921365.1WQcRo2hS9@xps> In-Reply-To: <20180122151504.107427-1-jasvinder.singh@intel.com> References: <20180122151504.107427-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:28:14 -0000 22/01/2018 16:15, Jasvinder Singh: > Malloc() function might return NULL due to insufficient space. Therefore, > check for handling memory allocation failure is added. > > Coverity issue: 257039 > Fixes: e63b50162aa3 ("app/testpmd: clean metering and policing commands") > > Signed-off-by: Jasvinder Singh Applied, thanks