From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI Date: Mon, 6 Nov 2017 22:11:01 -0800 Message-ID: References: <20171027091018.146152-1-jasvinder.singh@intel.com> <2bf4acb0-a83a-f3f0-0e7e-247d04e5f67b@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: john.mcnamara@intel.com To: Jasvinder Singh , dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2F9891B399 for ; Tue, 7 Nov 2017 07:11:03 +0100 (CET) In-Reply-To: <2bf4acb0-a83a-f3f0-0e7e-247d04e5f67b@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/6/2017 10:07 PM, Ferruh Yigit wrote: > On 10/27/2017 2:10 AM, Jasvinder Singh wrote: >> Malloc() function might returns NULL when memory allocation fails >> due to insufficient space. Therefore, check for handling memory allocation >> failure is added. >> >> Coverity issue: 198442,198444 >> Fixes: 996cb153af06 ("app/testpmd: add commands for TM nodes and hierarchy commit") >> >> Signed-off-by: Jasvinder Singh > > Reviewed-by: Ferruh Yigit Applied to dpdk/master, thanks.