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

2019-11-14 Thread Burakov, Anatoly
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: sta...@dpdk.org Signed-off-by: Xueming Li --- Re

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

2019-11-12 Thread Xueming Li
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: sta...@dpdk.org Signed-off-by: Xueming Li --- lib/librte_eal/common/rte_malloc.c | 3 ++- 1