From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] pmdinfogen: Resolve coverity scan forward null issue Date: Fri, 06 Jan 2017 11:41:45 +0100 Message-ID: <1566443.folWsZEZbm@xps13> References: <20170105192241.29213-1-nhorman@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Neil Horman , john.mcnamara@intel.com To: Neil Horman Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 7A85F2C01 for ; Fri, 6 Jan 2017 11:41:47 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id t79so23547875wmt.0 for ; Fri, 06 Jan 2017 02:41:47 -0800 (PST) In-Reply-To: <20170105192241.29213-1-nhorman@tuxdriver.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" 2017-01-05 14:22, Neil Horman: > From: Neil Horman > > Coverity issue 139593 reports a forward null dereference from a for loop > that works with a variable previously tested for null that had no error > handling or condition to prevent it. Pretty obvious fix below. > > Signed-off-by: Neil Horman Coverity issue: 139593 Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") Applied, thanks