From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] malloc: fix potential null pointer dereference Date: Wed, 15 Aug 2018 09:56:36 +0100 Message-ID: <125bd864-3d08-0665-f67b-e3004131a2ce@intel.com> References: <20180815072015.57281-1-tiwei.bie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Tiwei Bie , dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id CC87410A3 for ; Wed, 15 Aug 2018 10:56:46 +0200 (CEST) In-Reply-To: <20180815072015.57281-1-tiwei.bie@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 -- Thanks, Anatoly