From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] cfgfile: fix NULL pointer dereference Date: Tue, 07 Nov 2017 02:20:02 +0100 Message-ID: <1961835.maIYqHaTii@xps> References: <1508999046-5012-1-git-send-email-jacekx.piasecki@intel.com> <60ABE07DBB3A454EB7FAD707B4BB158213C4B1BF@IRSMSX109.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "Jastrzebski, MichalX K" , "Dumitrescu, Cristian" , "dev@dpdk.org" To: "Piasecki, JacekX" Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 62C2D1B34A for ; Tue, 7 Nov 2017 02:20:05 +0100 (CET) In-Reply-To: <60ABE07DBB3A454EB7FAD707B4BB158213C4B1BF@IRSMSX109.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 27/10/2017 17:08, Jastrzebski, MichalX K: > > > > Function memchr() could return NULL and assign it to split[1] pointer. > > Additional check and error handing is made after memchr() call. > > > > Coverity issue: 195004 > > Fixes: a6a47ac9c2c9 ("cfgfile: rework load function") > > Cc: jacekx.piasecki@intel.com > > Cc: stable@dpdk.org No need to Cc stable for bugs introduced in current release. > > Signed-off-by: Jacek Piasecki > > Acked-by: Michal Jastrzebski Applied, thanks