[dpdk-dev] [dpdk-stable] [PATCH 2/2] malloc: fix realloc padded element size
David Marchand
david.marchand at redhat.com
Tue Nov 19 21:47:15 CET 2019
On Tue, Nov 12, 2019 at 3:50 PM Xueming Li <xuemingl at mellanox.com> 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.
I did not see this when running the malloc_autotest with debug enabled.
What is missing for me to catch it?
Just a bit chilly to apply this series.
The first patch seems an optimisation.
The second one seems more interesting if we fix the debug mode, but I
suppose we can live without them in 19.11.
--
David Marchand
More information about the dev
mailing list