From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id D197C2B9E for ; Sun, 16 Sep 2018 11:24:15 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6DD0721DEC; Sun, 16 Sep 2018 05:24:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 16 Sep 2018 05:24:15 -0400 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=qsVMXjQbv9bKDRfpzIfcav6bi3 /863tbZ5cjyKkYlqQ=; b=oHFePlQQaDIZSHx7p+VT1g0Jszas9DbMLHsaFd8GKz FidjVx9/FhxILs0ezzYVr0sII1SO3XJ9T/rpgbH0OxczvkiuD8qCNMrVp20FTVbL GRdOtpo8701YuGRstouqV+j8p9OPw48ehe8d0uE5J8XZEwOboO0iJanF/C4avH4k k= 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=fm3; bh=qsVMXj Qbv9bKDRfpzIfcav6bi3/863tbZ5cjyKkYlqQ=; b=n9kL6UVUphv7BNj2SXh4L/ /s6OsFfK3RM5A9RwlP6/MkrTxiXpSGGNyKIlYVgrH1YXYdYEM5mYJndCiJ61TKuW rYORXQ45rtTbqqPc2FA3d7QgXb0a8HzRrsXA3WFR30YzanQHrUoXjH+DaviP5HH2 mm81EaqJ22ND0hNI7zVNA+WAbT2qabDnIjEmIcvoR6rACjFmcIVMiQezf71MuIYS 1U8gFyhrFL+hmXMxe6+0X0yGL6c4XUKrhUIvp4tJFl6ruGyR6CygWmfd25gSQZMy EpoNGkn6mPxS1PMVXa3AocDyqH0Kr3AvL8g6dfxDmT/+NMwQzEtUb0JphaxXf7tw == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 4C5C1E414A; Sun, 16 Sep 2018 05:24:14 -0400 (EDT) From: Thomas Monjalon To: Tiwei Bie Cc: dev@dpdk.org, "Burakov, Anatoly" Date: Sun, 16 Sep 2018 11:24:13 +0200 Message-ID: <1605293.DU2SKVn0M9@xps> In-Reply-To: <125bd864-3d08-0665-f67b-e3004131a2ce@intel.com> References: <20180815072015.57281-1-tiwei.bie@intel.com> <125bd864-3d08-0665-f67b-e3004131a2ce@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] malloc: fix potential 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: Sun, 16 Sep 2018 09:24:16 -0000 15/08/2018 10:56, Burakov, Anatoly: > On 15-Aug-18 8:20 AM, Tiwei Bie wrote: > > We need to do the NULL pointer check first after malloc(). > > > > Fixes: 07dcbfe0101f ("malloc: support multiprocess memory hotplug") > > Cc: stable@dpdk.org > > > > Signed-off-by: Tiwei Bie > > Acked-by: Anatoly Burakov Applied, thanks