From: Ferruh Yigit Subject: Re: [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI Date: Mon, 6 Nov 2017 22:07:37 -0800 Message-ID: <2bf4acb0-a83a-f3f0-0e7e-247d04e5f67b@intel.com> References: <20171027091018.146152-1-jasvinder.singh@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 mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F0D361B384 for ; Tue, 7 Nov 2017 07:07:39 +0100 (CET) In-Reply-To: <20171027091018.146152-1-jasvinder.singh@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 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