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 33AD41B384 for ; Tue, 7 Nov 2017 23:26:50 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AACC320B26; Tue, 7 Nov 2017 17:26:49 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 07 Nov 2017 17:26:49 -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=OPFXW0F933O8o0PhkEL4j8ldfQ EtTS/nqIYZXx+C/xM=; b=rCYEy/V+ylKCkzJPqtHbeqHC3tBFNWhAWUNiwN4leW sjLkUjqDRXPm3FYGC/hLbZtvqWRGOLLbQ8zVx5HuAwBbY/Vl7IkBFDn0O5DHM+GF cPufFgNkIiGo2N5e9sCTaMzP8BB/+2Xhbvw4DjcqyofPmKI3AKTfcsdlNJzMhLNL 8= 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=OPFXW0 F933O8o0PhkEL4j8ldfQEtTS/nqIYZXx+C/xM=; b=SE/47jGe2vMDt3aUnxR3MU Zvl6iizQmFzPq/PNWJtwmH/270ehEE7Vol4xTxwcImknmhu0aybmlUQ+pao4/SMj h6v3HdC83gFe5xmwpT29M8mxN6gw5zZKThpklIMMDN1L5s76TBxNNP99Jo+fIVRR kQp3NuqHkfcWygHnjrK1dwCL5UoYBIobVt2WK0JyqzY3fSPqsx/0G2JU8TAg+RC4 DuH4R+dLvmAesFboUgX6+hMg+QL7prG/R7IW7mdIOxSfDjoX5LIm8W+xyyhUjEyi Txq5+4kSmJ8O5WHgGw873QCHs1eNIcbZL7vB3PphJ4LiynRtLSfaWWwu8TtSzomw == 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 70BDD7F982; Tue, 7 Nov 2017 17:26:49 -0500 (EST) From: Thomas Monjalon To: Yong Wang Cc: dev@dpdk.org Date: Tue, 07 Nov 2017 23:26:48 +0100 Message-ID: <1964518.FCZB6Lh5FZ@xps> In-Reply-To: <1505475188-10681-1-git-send-email-wang.yong19@zte.com.cn> References: <1505475188-10681-1-git-send-email-wang.yong19@zte.com.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] buildtools: add null point check for calloc 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 22:26:50 -0000 15/09/2017 13:33, Yong Wang: > In func locate_pmd_entries(), pointer 'new' returned from call to func > 'calloc' may be NULL. It is dereferenced without null point check. > > Signed-off-by: Yong Wang Applied, thanks