From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2017 22:11:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,356,1505804400"; d="scan'208";a="918374667" 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:11:01 -0800 From: Ferruh Yigit To: Jasvinder Singh , dev@dpdk.org Cc: john.mcnamara@intel.com References: <20171027091018.146152-1-jasvinder.singh@intel.com> <2bf4acb0-a83a-f3f0-0e7e-247d04e5f67b@intel.com> Message-ID: Date: Mon, 6 Nov 2017 22:11:01 -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: <2bf4acb0-a83a-f3f0-0e7e-247d04e5f67b@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:11:03 -0000 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.