Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
malloc: fix realloc padded element size
[ upstream commit 90f538b ] 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: af75078 ("first public release") Signed-off-by: Xueming Li <xuemingl@mellanox.com> Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
- Loading branch information