From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9880820B84; Mon, 6 Nov 2017 20:20:04 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 06 Nov 2017 20:20:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=jNn0evgHwSdcVThLVsQMw9JdMV VsompDLRhXRCCTp2U=; b=KPJRpU84aznvv/AkMk6b1ERZ+lExwEspKJHz21VkR7 uPMzvKJmDR3xxU3J/9X+q85rmGfa283TOgyAT9dY/voRGE+eLe0IWU9A6iRQU+il nneDmCZoAW7hXB+BBSEhwwtCnhhMzNMFwW+r2U+6ehS8kGQHzoQKALpZ0u9Enq8B 4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jNn0ev gHwSdcVThLVsQMw9JdMVVsompDLRhXRCCTp2U=; b=HbDpW5ZZSiwqu/a9yL10qq WJzd0lA7euegRVSvBik7hrq9y6HermVD4RuMmlgAbqybb51VSQV+RT5g61x4Wut0 VWqTSf5QrS21Dj7U+tRped2AJVEDvdeM9pf8waBCyu15RdR4hCk+TtXoPsp/yA+7 Sy7beGxPBqUGazvAEKAtFtLsBJLRewQlv4M/hwMxF1P3Oq17Cq/SNus+WUkmCc46 RPc9ckT8Is7j2y+i7PNmMzpaiqCRlv9rP+sluk8DrO+ymEvAj8V4dWgXDY6f8UX5 2PDK8dy716EY0SCDA571lGveR1xjEZOqt85z48YpnoVzg/0Ixzt1x1gh5uXNz7tw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 554287F988; Mon, 6 Nov 2017 20:20:04 -0500 (EST) From: Thomas Monjalon To: "Piasecki, JacekX" Cc: "Jastrzebski, MichalX K" , "Dumitrescu, Cristian" , "dev@dpdk.org" Date: Tue, 07 Nov 2017 02:20:02 +0100 Message-ID: <1961835.maIYqHaTii@xps> In-Reply-To: <60ABE07DBB3A454EB7FAD707B4BB158213C4B1BF@IRSMSX109.ger.corp.intel.com> References: <1508999046-5012-1-git-send-email-jacekx.piasecki@intel.com> <60ABE07DBB3A454EB7FAD707B4BB158213C4B1BF@IRSMSX109.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] cfgfile: fix NULL pointer dereference 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 01:20:05 -0000 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