[dpdk-stable] [PATCH 1/2] malloc: fix realloc wrong copy size

Burakov, Anatoly anatoly.burakov at intel.com
Thu Nov 14 16:11:08 CET 2019


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 at dpdk.org
> 
> Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> ---

Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the stable mailing list