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

2021-04-13 Thread 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. Fixes: 923ceaeac140 ("test/mempool: add unit test cases") Cc: sta...@dpdk.org Signed-off-by: Wenwu Ma --- v2: - refine commit l

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

2021-04-13 Thread 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. Fixes: 923ceaeac140 ("test/mempool: add unit test cases") Cc: sta...@dpdk.org Signed-off-by: Wenwu Ma --- v2: - refine commit l