From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 06 Nov 2017 22:07:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,356,1505804400"; d="scan'208";a="918373851" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.255.231.67]) ([10.255.231.67]) by FMSMGA003.fm.intel.com with ESMTP; 06 Nov 2017 22:07:38 -0800 To: Jasvinder Singh , dev@dpdk.org Cc: john.mcnamara@intel.com References: <20171027091018.146152-1-jasvinder.singh@intel.com> From: Ferruh Yigit Message-ID: <2bf4acb0-a83a-f3f0-0e7e-247d04e5f67b@intel.com> Date: Mon, 6 Nov 2017 22:07:37 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171027091018.146152-1-jasvinder.singh@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI 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: Tue, 07 Nov 2017 06:07:40 -0000 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