[dpdk-dev] [dpdk-stable] [v2] test/mempool: fix heap buffer overflow

Thomas Monjalon thomas at monjalon.net
Tue Apr 13 13:52:26 CEST 2021


13/04/2021 22:05, Wenwu Ma:
> Amount of allocated memory was not enough for mempool
> which cause buffer overflow when access fields of mempool
> private structure in the rte_pktmbuf_priv_size function.

Was it causing the test to fail?
How do you reproduce the overflow?

> Fixes: 923ceaeac140 ("test/mempool: add unit test cases")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wenwu Ma <wenwux.ma at intel.com>





More information about the dev mailing list