[dpdk-dev] [PATCH 2/2] malloc: fix realloc padded element size

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


On 12-Nov-19 2:50 PM, Xueming Li wrote:
> When resize a memory with next element, the original element size grows.
> If the orginal element has padding, the real inner element size didn't
> grow as well and this causes trailer verification failure when malloc
> debug enabled.
> 
> 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 dev mailing list