[dpdk-dev] [PATCH 2/3] vhost: fix packed ring potential buffer overflow

2021-03-30 Thread Marvin Liu
Similar as split ring, the multiple accesses of descriptor length will lead to potential risk. One-time access of descriptor length can eliminate this risk. Fixes: 2f3225a7d69b ("vhost: add vector filling support for packed ring") Cc: sta...@dpdk.org Signed-off-by: Marvin Liu Reviewed-by: Maxime

[dpdk-dev] [PATCH 2/3] vhost: fix packed ring potential buffer overflow

2021-03-24 Thread Marvin Liu
Similar as split ring, the multiple accesses of descriptor length will lead to potential risk. One-time access of descriptor length can eliminate this risk. Fixes: 2f3225a7d69b ("vhost: add vector filling support for packed ring") Cc: sta...@dpdk.org Signed-off-by: Marvin Liu Reviewed-by: Maxime