From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F2752A04C5 for ; Thu, 14 Nov 2019 16:11:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBF4F2BF7; Thu, 14 Nov 2019 16:11:15 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C59E02AB; Thu, 14 Nov 2019 16:11:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 07:11:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,304,1569308400"; d="scan'208";a="203088015" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.252.7.220]) ([10.252.7.220]) by fmsmga008.fm.intel.com with ESMTP; 14 Nov 2019 07:11:09 -0800 To: Xueming Li Cc: Asaf Penso , dev@dpdk.org, stable@dpdk.org References: <1573570228-15676-1-git-send-email-xuemingl@mellanox.com> From: "Burakov, Anatoly" Message-ID: <5f5f26c1-6ec9-5862-554d-04fa6bde24e2@intel.com> Date: Thu, 14 Nov 2019 15:11:08 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <1573570228-15676-1-git-send-email-xuemingl@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH 1/2] malloc: fix realloc wrong copy size X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 12-Nov-19 2:50 PM, Xueming Li wrote: > In rte_realloc, if the old element has pad and need to allocate a new > memory, the padding size was not deducted, so more data was copied to > new data area. > > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org > > Signed-off-by: Xueming Li > --- Reviewed-by: Anatoly Burakov -- Thanks, Anatoly