-Original Message-
From: dev On Behalf Of Wenwu Ma
Sent: Thursday, April 1, 2021 5:06 AM
To: olivier.m...@6wind.com; andrew.rybche...@oktetlabs.ru; dev@dpdk.org
Subject: [dpdk-dev] [PATCH] test/mempool: Fix illegal pointer access in mempool
test
The value of parameter private_data_size
The value of parameter private_data_size of function
rte_mempool_create() called in test_mempool() should not be 0,
Otherwise, the function rte_pktmbuf_priv_size() called in
rte_pktmbuf_init() will cause heap-buffer-overflow.
Signed-off-by: Wenwu Ma
---
app/test/test_mempool.c | 3 ++-
1 file ch
2 matches
Mail list logo