Re: [dpdk-dev] [PATCH] mbuf: Fix illegal pointer access to mempool members

2021-03-31 Thread Jerin Jacob
On Wed, Mar 31, 2021 at 7:19 AM Wenwu Ma wrote: > > Before accessing the private data of mempool in > function rte_pktmbuf_priv_size() and rte_pktmbuf_data_room_size(), > it is necessary to determine whether the private data exists, > otherwise it will cause null pointer access. > > Signed-off-by:

[dpdk-dev] [PATCH] mbuf: Fix illegal pointer access to mempool members

2021-03-31 Thread Wenwu Ma
Before accessing the private data of mempool in function rte_pktmbuf_priv_size() and rte_pktmbuf_data_room_size(), it is necessary to determine whether the private data exists, otherwise it will cause heap-buffer-overflow. Signed-off-by: Wenwu Ma --- lib/librte_mbuf/rte_mbuf.h | 6 ++ 1 file

[dpdk-dev] [PATCH] mbuf: Fix illegal pointer access to mempool members

2021-03-30 Thread Wenwu Ma
Before accessing the private data of mempool in function rte_pktmbuf_priv_size() and rte_pktmbuf_data_room_size(), it is necessary to determine whether the private data exists, otherwise it will cause null pointer access. Signed-off-by: Wenwu Ma --- lib/librte_mbuf/rte_mbuf.h | 6 ++ 1 file

[dpdk-dev] [PATCH] mbuf: Fix illegal pointer access to mempool members

2021-03-29 Thread wenwux . ma
From: wenwu ma Before accessing the private data of mempool in function rte_pktmbuf_priv_size() and rte_pktmbuf_data_room_size(), it is necessary to determine whether the private data exists, otherwise it will cause null pointer access. Signed-off-by: wenwu ma --- lib/librte_mbuf/rte_mbuf.h |