From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
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 <dev@dpdk.org>; Fri,  6 Jan 2017 11:41:47 +0100 (CET)
Received: by mail-wm0-f46.google.com with SMTP id t79so23547875wmt.0
 for <dev@dpdk.org>; Fri, 06 Jan 2017 02:41:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:user-agent:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=1XFktguI7FUCyVjR8BPXUZXaXgImIryiRdYKltbU3QI=;
 b=R7YO10cMGG8bqrdnrkFpQCkKHkQ9jRDBr2H+RkVXw3VO8vwVO8vj+OdTJJ1oi+dgys
 6cdYuMCjp+hrx20lh/dvv7e+ajyzX4q3lWX86x/G5eBRhJiA9mswMkyhCvlnmQ38aYTz
 rEdf2GJT0HbGvPp70NFcI365SnVIjtfqr/rBkQxmaxPBSqBzXqtwv292i09DB2vJeUZr
 uejP8O15uk7pAwXvEvj69Z6LXorzM24wiwzemiZM58H3RyXL8eyke9iDgFGRK5CIgXGX
 OpnHoMgZ6M12R98dFrQt/OhfpmK6AtCY4KavQ9h7ckuwMy89SnaW+5nsusB4B5YmPvOa
 xr/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding;
 bh=1XFktguI7FUCyVjR8BPXUZXaXgImIryiRdYKltbU3QI=;
 b=oaJPybReJAaOTzMnctOUdtJSW9fVlP6oFFt5VRaqnbmB94MmhWxRjJcMRKB/Zdx8n4
 p5XWZRa9O9DiBZz8tp9I2xsnzLD3kJ5hDqy+JI4V1srmnTCceoWZOVU0eCnTbGfm5A58
 ncsXVhP3zk6CkxNWk2BbmtnUyg8JQuzUmDKLPJTs8h1kKTXj2B27n19T+FyfsFstBzYH
 SflY7v5eEbel0fBhJLOGgjKimcCxXblUG+zl1FsuVlfm4y/QoUhYQNJG8M5iouAfF7bf
 GMnpVy9gWaZyIPzWanuuA/24o5gC+loVMCXyxwnOXxDJ3V+Dy6nzCiB8cslcfuYlYTVS
 wcxw==
X-Gm-Message-State: AIkVDXIovIidbo2YwoxnjkKf3R+/uER+NMJKTT6eEgv8tu0US/f5p4QKNEr+S94mFEjqxD0X
X-Received: by 10.28.69.17 with SMTP id s17mr3102599wma.141.1483699307063;
 Fri, 06 Jan 2017 02:41:47 -0800 (PST)
Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184])
 by smtp.gmail.com with ESMTPSA id f67sm2741956wmd.13.2017.01.06.02.41.46
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 06 Jan 2017 02:41:46 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Neil Horman <nhorman@tuxdriver.com>
Cc: dev@dpdk.org, Neil Horman <nhorman@redhat.com>, john.mcnamara@intel.com
Date: Fri, 06 Jan 2017 11:41:45 +0100
Message-ID: <1566443.folWsZEZbm@xps13>
User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <20170105192241.29213-1-nhorman@tuxdriver.com>
References: <20170105192241.29213-1-nhorman@tuxdriver.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH] pmdinfogen: Resolve coverity scan forward
	null issue
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2017 10:41:47 -0000

2017-01-05 14:22, Neil Horman:
> From: Neil Horman <nhorman@redhat.com>
> 
> 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 <nhorman@tuxdriver.com>

Coverity issue: 139593
Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility")

Applied, thanks